I am migrating from another server to Digital Ocean. I’ve set my droplet up, installed apache, tomcat, mysql etc. It’s broadly all working however I’m getting an error on files located within subfolders:

org.apache.jasper.JasperException: The absolute uri: [http://java.sun.com/jsp/jstl/sql] cannot be resolved in either web.xml or the jar files deployed with this application

All the jsp files in the root work fine. All the files in any subfolders don’t. If I relocate any subfolder files into the root the problem goes away.

Also the sufolder files also don’t appear to be able to find any include files located in the level above, e.g.

<%@ include file=“../Connections/connection.jsp” %>

Perhaps the two are connected and this is a permissions error?

The deployment works fine on the old server so this must be a config issue rather than coding.

Any help greatly appreciated

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

I have now solved this problem, it was actually caused by incorrect URL forwarding from Apache to Tomcat

Submit an Answer