I'm developing a simple web application in Java, but since I've changed my computer from win7 to mac os, i can't deploy my application. Before the SO change my compiled code/war from intellij was deployed to debian with no problem. Now I get this (anoying) error:
An error occurred at line: [1] in the generated java file: [/var/lib/tomcat8/work/Catalina/localhost/chat/org/apache/jsp/index_jsp.java]
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:199)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:438)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
In both machines I have installed JDK8 and Tomcat8. Debian CPU is a ARMv6, a raspberry pi. My Mac OS is x64 from mid 2012. I already search over the web, try to update Tomca8, compile to java7 and deploy to a Tomcat7 instance, its driving me crazy!! I think this may be a cross platform problem, or something to do with class compilations, but I cannot find what!
Any help is much appreciated, Thanks