PDA

View Full Version : Annotation and ClassNotFoundException



arturf
15 Aug 2009, 11:23 AM
hi, I have a problem with Annotation. I have look in internet several hours without success. GWT will not compile and hang with this exception.

Compiling module com.extjs.gxt.samples.Examples
Refreshing module from source
Refreshing TypeOracle
Processing types in compilation unit: jar:file:/C:/sprachen/gxt-2.0.1/com.jar!/com/extjs/gxt/samples/resources/client/model/CustomerBeanModel.java
Found type 'CustomerBeanModel'
Resolving annotation '@BEAN(com.extjs.gxt.samples.resources.client.model.Customer.class)'
[ERROR]
java.lang.ClassNotFoundException: com.extjs.gxt.samples.resources.client.model.Customer
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.javac.TypeOracleMediator.getClassLiteral(TypeOracleMediator.java:763)


Have someone the same problem and a solution for it ?

Artur