Solution to java.lang.ClassNotFoundException problem

Author: Zhu Jincan

Source: https://blog.csdn.net/clever101

 

      An error occurred when debugging and running a java project. The error message is as follows:

严重: Error configuring application listener of class [com.xxx.pie.client.xxx.xxx]

java.lang.ClassNotFoundException:

 

       How to understand this error message? We know that the jar file generated by the java project is actually a collection of class files. This error actually tells us that the class file was not found. So where is the generated class file placed? The default is placed in the WEB-INF\classes directory. I went to a directory and saw that it was empty. So why is it not generated? The reason is probably that there is a project that is valid (should be the verification of js and html files), which blocks the compilation thread. So I restarted an elipse and rebuilt the project just fine.

Supongo que te gusta

Origin blog.csdn.net/clever101/article/details/99316735
Recomendado
Clasificación