Solve the problem of creating a javaweb project in myeclipse and failing to use the Web App Libraries, myeclipsejavaweb
For a Java web project created in myeclipse, the jar package in lib cannot automatically load the project, and the Web App Libraries cannot be used as in eclipse.
Even if the Libraries library of the Web App is added, the jar package is added as usual.
Solution:
In the. project file, modify <natures> and overwrite the original content with the following content:
<Nature> org. eclipse. jem. workbench. JavaEMFNature </nature>
<Nature> com. genuitec. eclipse. ast. deploy. core. deploymentnature </nature>
<Nature> com. genuitec. eclipse. j2eedt. core. webnature </nature>
<Nature> org. eclipse. jdt. core. javanature </nature>
<Nature> org. eclipse. wst. jsdt. core. jsNature </nature>
<Nature> org. eclipse. wst. common. project. facet. core. nature </nature>
<Nature> org. eclipse. wst. common. modulecore. ModuleCoreNature </nature>
After refreshing the project, you can see