Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » War Web-INF/classes without .class in Tomcat(Tomcat not class found exception)
War Web-INF/classes without .class in Tomcat [message #1841065] Sun, 02 May 2021 22:42 Go to next message
Pedro Costa is currently offline Pedro CostaFriend
Messages: 2
Registered: May 2021
Junior Member
I do not know what else can I do more.
Eclipse version : 2019-09 R
Maven 3.3.9
.settings folder , file org.eclipse.wst.common.component

<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="shs">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<property name="context-root" value="app"/>
<property name="java-output-path" value="/app-war/target/classes"/>
</wb-module>
</project-modules>

Web Deployment Assembly
src/main/java -> WEB-INF/classes
src/main/resources -> WEB-INF/classes

Java Build Path
app-was/target/classes

Every time I start the server on Eclipse (Tomcat) , the folder .metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\app-war\WEB-INF\classes do not contains the .class files.The src/main/resources are copy to the folder but the .class files are not. Anyone with ideas ?

eclipse
Re: War Web-INF/classes without .class in Tomcat [message #1841067 is a reply to message #1841065] Mon, 03 May 2021 01:24 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Are your class files actually being compiled into /app-war/target/classes ?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: War Web-INF/classes without .class in Tomcat [message #1841075 is a reply to message #1841067] Mon, 03 May 2021 07:24 Go to previous message
Pedro Costa is currently offline Pedro CostaFriend
Messages: 2
Registered: May 2021
Junior Member
Hello
Yes , they are compiled to the /app-war/target/classes folder.
Previous Topic:New server type
Next Topic:How to add multiple configure tags supporting different providers in jetty-ssl-context.xml
Goto Forum:
  


Current Time: Sat Apr 20 03:22:08 GMT 2024

Powered by FUDForum. Page generated in 0.02631 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top