'WebSphere Server V.8.5 troubles with Eclipse project
I'm trying to create an IBM WebSphere V.8.5 web app using Eclipse.
I downloaded and installed all the IBM packages needed and followed the official guide to create server and project.
Then I created an index.jsp under WebContent folder with just some HTML/CSS tags to print a static "Hello world".
Visiting http://localhost:9080/project_name/index.jsp
I get the following:
Error message: JSPG0036E: Unable to find resource /project_name/index.jsp
I've already search for the error but ant solution was valid for my case. The error continues...
Root cause: java.io.FileNotFoundException: JSPG0036E: Unable to find resource /project_name/index.jsp at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.findWrapper(AbstractJSPExtensionProcessor.java:447) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.getServletWrapper(AbstractJSPExtensionProcessor.java:338) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1010) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304) at
...
Solution 1:[1]
Eclipse doesn't provide an automatic build and launch of the web project so you have to export an EAR file (not WAR!) and import it into WebSphere Control Panel as WebSphere Enterprise Application.
Then just leave the options as they are and click "next" as many time as needed; in the WebSphere Enterprise Application panel you have to select the app just added and click "Launch"; it should work and then you can visit the URL http://hostname:9080/project_name/your_page.jsp
.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Truerick |