Atitit. Trouble Shooting Series ---noclassdeffounderror noclassdeffounderror classnotfoundexception
1 .  class exception not found. When an app tries to construct a class based on a class name in string form, while traversing classpah class file, this exception is thrown. 1
2 .  view class ... 1
3 .  eclipse this class add lei sysoout ,,, What to recompile to hang three walk ok LAN 2
4 . If possible, use a Web server that is more support for full hot deployment, and recommend Glassfish,resin. Tomcat,jboss only supports hot deployment in rare cases new add line out print, has already made eclipse recompile class. It's usually OK ... 90% You can use this method to resolve the update version information that can be used bcompare to view the tracking class, manually synchronize the version if it is remote debugging, the interrupt is usually good for the connection ... If not, restart Web server. If not, only restart the IDE ... 2
5 . Class Library Conflicts 2
1. java.lang.ClassNotFoundExceptionThe class exception could not be found. This exception is thrown when an application attempts to construct a class based on a class name in string form, and when a class file of the corresponding name is not found after traversing Classpah.
there 's another one. Noclassdeffounderror , that is classload new class loading :
2. view class is present ...
Author :: Old Wow's paw attilax ayron, email:[email protected]
Reprint please indicate source: Http://blog.csdn.net/attilax
3. add eclipse This class lei a sysoout,,, called which recompile to hang .... Three,, go OK LAN ...
Cause:: MyEclipse bug (local debugging), Eclipse or Web server bug (remote debugging)
Situation:::
Occasional. Java and. Class inconsistencies:
Solve:::
4.
If possible, use a Web server that is more support for full hot deployment, and recommend Glassfish,resin. Tomcat,jboss only supports hot deployment in rare cases
new Add a line out of print, and the eclipse has been recompiled class. It's usually OK ... 90% can be solved by this method
you can use Bcompare to view updated version information of the tracking class and manually synchronize the version
In the case of remote debugging, it is usually good to interrupt in the connection ... If not, restart Web server.
if not, only restart the IDE ...
5. Class Library Conflicts
like There is a classin the jar package. the class directory has a class with the same name . All call the attilax. clousre . But There's no such clousre in the jar bag .
And the boot loaded is the class inside the jar. Causes classload not to find the sub-path below the class....
Workaround: Delete the boot class with the same name inside the jar package . Start with the class file under the class directory . This will do it.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Atitit. Troubleshooting Series---noclassdeffounderror noclassdeffounderror classnotfoundexception