cancel
Showing results for 
Search instead for 
Did you mean: 

Java EE Application Clients

Former Member
0 Kudos

Hi,

I'm not able to run the example described on the tutorial "Using Java EE Application Clients".

After doing everything as mentioned on PDF, the Ant Build returns the following exception "Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/blogs/appclient/calculator/ejb/CalculatorRemote at com.sap.blogs.appclient.calculator.client.CalculatorClient.main".

What's wrong?

Thanks and Regards,

John

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

This error is because the corresponding class

"com/sap/blogs/appclient/calculator/ejb/CalculatorRemote" was not found. You need to add the necessary Jar/Class file to the classpath of this application.

here when the JVM tries to execute the program from com.sap.blogs.appclient.calculator.client.CalculatorClient.main ie the main method, it could not load the class named CalculaorRemote from the classpath.

regards

Vivek Nidhi.