NoClassDefFound error in talend - talend

My sample job showing follwing error. What could be the problem.

This job has unresolved compilation error. Look at the "Problems" tab for issues.

Related

My eclipse can't find jar's

I'm trying to work with Excel in my project, so I added few additional jar's to it:
MyBuildPath
When I'm trying to run my project, I'm getting such exceptions:
:compileJavaC:\Users\Azimut\Documents\workspaces\helperandroid\MultiViewProjectFXML\src\main\java\myClasses\SearchOrders.java:12: error: package org.apache.poi.ss.usermodel does not exist
import org.apache.poi.ss.usermodel.*;
^
C:\Users\Azimut\Documents\workspaces\helperandroid\MultiViewProjectFXML\src\main\java\myClasses\SearchOrders.java:13: error: package org.apache.poi.xssf.usermodel does not exist
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
.......
C:\Users\Azimut\Documents\workspaces\helperandroid\MultiViewProjectFXML\src\main\java\myClasses\SearchOrders.java:116: error: cannot find symbol
public static String getCellText(Cell cell) {
^
symbol: class Cell
location: class SearchOrders
13 errors
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
I searched a lot through the internet, but I still can't understand how to solve this problem.
I assume you are excuting your code commandline, and not using eclipse.
In that case, You will have to add dependency jars in class path when you run the code.
java -cp <jar files> is the possible way.
Are you able to execute in eclipse ?
Regards,
~KD

How to solve "java.lang.NoClassDefFoundError: org/json/JSONException"

I am using marionette driver for testing with selenium. when I run the code it gives me the error:
java.lang.NoClassDefFoundError: org/json/JSONException.
Also gives error :
Found argument '--webdriver-port' which wasn't expected, or isn't valid in this context
Please help for the same
I have used "java-json.jar" however now it's give the error "org.openqa.selenium.WebDriverException: java.net.ConnectException: Connection refused:" so can you suggest what issue is for the same
Try adding java-json/.jar in your classpath.
Download the jar from Jar link

errai GWT data binding getting failed

I am trying to run errai databinding in my GWT application
simply followed this tutorial , but with no luck
https://docs.jboss.org/author/display/ERRAI/Data+Binding
I am kept on getting errors, resolved some by adding some jars etc.
Now , I am getting this error which I am not able to resolve
[ERROR] Error generating BindableProxyLoaderImpl
java.lang.AbstractMethodError: org.jboss.errai.codegen.meta.MetaField.getDeclaringClassName()Ljava/lang/String;
Here is the screenshot of m console and the Jars i am using
Please guide
http://screencast.com/t/TdECCZNTxc

Starting Groovy/Grails Tool Suite fails with internal error: `Requesting Java AST from selection`

Hello when I launch my Eclipse(Groovy/Grails Tool Suiteā„¢ (GGTS) - Spring) i get this error:
An internal error occurred during: "Requesting Java AST from
selection". Unresolved compilation problems: The import
grails.util cannot be resolved CollectionUtils cannot be resolved
org.springframework cannot be resolved to a type
org.springframework cannot be resolved to a type
org.springframework cannot be resolved to a type
And when I try to update my plugins dependencies I just get and error and nothing is updated. Can anyone please help.
I have GGTS and this message is poping up each time I click on eclipse.

Internal Error in Eclipse

I'm trying to launch a program in Eclipse, but I keep getting an error message saying:
An internal error occurred during: "Launching WindChillTester".
org/eclipse/jdt/debug/core/JDIDebugModel**
WindChillTester is the name of my program. What should I do to fix this?
Adding
-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU
...at the end of eclipse.ini seems to have solved the issue.