File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Compile error at JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Compile error at JSP " Watch "Compile error at JSP " New topic
Author

Compile error at JSP

Khajaasmath Mohammed
Greenhorn

Joined: Oct 24, 2011
Posts: 1
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

Joined: Nov 16, 2009
Posts: 37

are the JSP precompiled ?

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

thanks.


http://devwebcl.blogspot.com/
 
IntelliJ Java IDE
 
subject: Compile error at JSP
 
Threads others viewed
Urgent Help Jsp Compile error: Can not resolve symbol
Depricated API error please help
Depricated API Error pls help
Error while accessing from EJB Client in Weblogic 6.1
Depricated API Error pls help
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com