Home > Back-end >  Don't use toncat access Java classes
Don't use toncat access Java classes

Time:02-23

Do not use package mechanism can, using just an error, how to solve?

CodePudding user response:

How do you start running?
An error with the package, then look at compile time whether to generate the corresponding package path, the package path if there is a corresponding class,
In addition, the tomcat startup of the classpath is how to set?

CodePudding user response:

reference 1st floor qybao response:
how do you start running?
An error with the package, then look at compile time whether to generate the corresponding package path, the package path if there is a corresponding class,
In addition, the tomcat startup of the classpath is how to set?

Is after the deployment, open the server and then run, check the corresponding packet path?

CodePudding user response:

What do you use ide, where the class files generated at compile time you don't know, how do you to deploy the jar package?
The simplest method is to extract the jar package, you deploy check folder after decompression com/Leizhou/servlet the path, the path of any HelloServlet. Class files
  • Related