This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
02/05/2010 10:45:48 PM com.sun.enterprise.appclient.MainWithModuleSupport <init>
WARNING: ACC003: Application threw an exception.
at client.addCounties(addCounties.java:8)The following are the relevant code snippets:
Can someone please provide advice on how to properly instantiate County entity without getting NoClassDefFoundError: jpa/County? I have tried all combinations between line 1 – 7 without success.
I managed to re-create the whole Java EE 5 project from scratch and can confirm that County is part of CountyConsumer-ejb has been included in the CLASSPATH of CountyConsumer-app-client but it did not make any difference. Below is the CLASSPATH segment of CountyConsumer-app-client in nbproject/project.properties (Netbeans 6.9.1):
I am wondering whether this lost of access/visibility of County from client.AddCounties() is due to the fact that it is an Application Client which is in a different container? Also find it strange to see the names of 2 old packages (domain, ejb) already been deleted and could not find them in any of the codes or configuration files.