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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I have now solved this problem, it was actually caused by incorrect URL forwarding from Apache to Tomcat
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.