Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Compile error at JSP  RSS feed

 
Khajaasmath Mohammed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting weird error when trying to access the jsp from oracle weblogic server. Here it is.

Compilation of JSP File '/iStudy sample/oneNovartiswebsite.jsp' failed:
--------------------------------------------------------------------------------

oneNovartiswebsite.jsp:1:33: The declared package "jsp_servlet._istudy_32_sample" does not match the expected package "jsp_servlet._istudy_37_20sample"
<%@page language="java" import="java.util.*"%>
^---------^

The same code is working in Tomcat server, oracle weblogic server (locally from eclipse) but not running from oracle weblogic hosted in unix environment. Could you pl let me know the reason behind it.

Quick response is much appreciated.
Regards,
Asmath
 
German Gonzalez-Morris
Ranch Hand
Posts: 299
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are the JSP precompiled ?

make sure to delete all precompiled JSP in your war file and deploy again

thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!