Questions tagged [javabuilders]
29 questions
13
votes
4 answers
Internal compiler error: Classcast exception
I am getting below error at the start of java file right at letter 'p' of package
Internal compiler error: java.lang.ClassCastException: org.eclipse.jdt.internal.compiler.lookup.MethodBinding cannot be cast to…

user837593
- 337
- 1
- 5
- 25
6
votes
6 answers
Jenkins: How to make single job build and deploy on two servers
I have code in a repository. Now I want to create a job which will build code from the repository and deploy it on two servers.
Right now I create two jobs with exactly the same configuration. The only change is the server on which it needs to…

javaMan
- 6,352
- 20
- 67
- 94
5
votes
2 answers
How to access a matlab function from java code?
My java program uses matlab code packaged as jar files for image processing. The problem is when I call a function(written by me) with a call to 'mmreader' for the first time, it works fine. However any subsequent call to a function(same or…

meraj
- 243
- 1
- 2
- 8
4
votes
1 answer
Unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM
I am trying to build a proof of concept for microservices in java (eclipse) using maven Spring libraries and following this tutorial.
Below is my POM file, which shows an error, that I could not resolve:

Traveling Salesman
- 2,209
- 11
- 46
- 83
4
votes
4 answers
Executing a Matlab function using java
I'm writing an application which does image processing using matlab and later displays the result using Java's Interface. Due to certain reasons I've to use both Java and Matlab.
How can I use the matlab function in java ?? How to create and access…

Mahesh Gupta
- 2,688
- 9
- 30
- 46
3
votes
1 answer
Extracting CellArray values into java datatype
I'm doing matlab java interfacing using javabuilder. In my matlab code, the function returns a cellarray which is to be casted to java datatype. The value cellarray is retrieved into MWArray. But
I'm not able to cast individual cell data into java…

Mahesh Gupta
- 2,688
- 9
- 30
- 46
3
votes
0 answers
Can components created by JavaSwingBuilder reference other Yaml files?
Typically when using JavaBuilder1 you can define a new component thusly:
Yaml myFrame.yaml:
JFrame(name=frame, title=frame.title, size=packed, defaultCloseOperation=exitOnClose):
- JPanel(name=panel1, tabTitle=tab.panel1Name):
…

AncientSwordRage
- 7,086
- 19
- 90
- 173
2
votes
1 answer
How to create JFreeChart control with JavaBuilders?
How can I create a JFreeChart control in YAML, using JavaBuilder?
My current form YAML follows:
JFrame(name=frame, title=frame.title, size=packed, defaultCloseOperation=exitOnClose):
- JLabel(name=sortLabel, text=label.sorttext)
-…

Rob
- 5,223
- 5
- 41
- 62
2
votes
1 answer
Using Builder Constructor on Extended Class?
I'm implementing a Builder constructor as documented in Joshua Bloch's "Effective Java 2nd Edition. However, I'm running into a few complications when I try to extend the class and its builder. Essentially, the extended Builder in the extended child…

tmn
- 11,121
- 15
- 56
- 112
2
votes
2 answers
my GlassFish Server, deploy, null, false
In my GlassFish Server, I got this error message:
In-place deployment at D:\simpers\simpers\simpers-war\build\web
GlassFish Server, deploy, null, false
D:\simpers\simpers\simpers-war\nbproject\build-impl.xml:1118: The module has not been…
GlassFish Server, deploy, null, false
D:\simpers\simpers\simpers-war\nbproject\build-impl.xml:1118: The module has not been…

Ryu
- 21
- 1
- 1
- 3
1
vote
1 answer
Serialize abstract class with SuperBuilder using Jackson
I have following classes:
@NoArgsConstructor
@AllArgsConstructor
@Data
@SuperBuilder
public abstract class Parent {
private String parentA;
private String parentB;
}
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper…

EzyHoo
- 301
- 2
- 14
1
vote
3 answers
JavaBuilder handling CoreException
I am working with Eclipse. All was right during I was developing, but I have two days with some strange problems. I have a subproject with several packages. I want to use some classes between packages and Eclipse recognizes the imports. However,…

Jose Hdez
- 2,297
- 7
- 38
- 52
1
vote
1 answer
Unexpected Behavior of MATLAB Builder
I've a MATLAB function which computes a histogram difference between two color histograms. I've converted it into a corresponding JAR file using MATLAB Builder.
Now, when I try to retrieve the value, it's giving some unexpected results.
The same…

Mahesh Gupta
- 2,688
- 9
- 30
- 46
1
vote
0 answers
Can I access the output of MATLAB JavaBuilder as input to process in Java?
I've been issued the task of using MATLAB JavaBuilder.
MWNumericArray data1=null;
MWNumericArray data2=null;
Object[] result = null;
Class1 lse = null;
Object[] hasil;
try {
data1=new…

Yohanes Setiawan
- 81
- 1
- 10
1
vote
0 answers
ant (maven):run command in the background
I want to run an ant background command which deletes something in the background later.
if I'm running it with
.
The build still waits for the process to end.
How can we run the delete command detached from the main build so the…

omer727
- 7,117
- 6
- 26
- 39