JAVA

Unable to compile class for JSP:

Unable to compile class for JSP: The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

 

  • You have just upgrade to java 8. 
  • Yo haven't upgraded tomcat or you did.

 

Make sure you do not have an older ecj-*.jar file in your classpath.  Removing the older jar will resolve the error.

apache tomcat

Weblogic attempting to cast incompatible JAX-RS Versions

weblogic

Error in configuring weblogic 12c and jaxrs 2.0: Caused by: java.lang.LinkageError: ClassCastException: attempting to castjar:file:<middleware_home>/oracle_common/modules/jersey-core-1.18.jar!/javax/ws/rs/ext/RuntimeDelegate.class to zip:<domain_home>/servers/ReportServer/tmp/_WL_user/jax-rs/prnh4c/WEB-INF/lib/javax.ws.rs-api-2.0.jar!/javax/ws/rs/ext/RuntimeDelegate.class

Pages

Subscribe to RSS - JAVA