Compile Exception ? ? ?

I recieve an exception like this when I try to view a jsp file.
Can anybody help me about this please?

Error: 500
Location: /hasta/vHastaUst.jsp
Internal Servlet Error:

org.apache.jasper.compiler.CompileException: C:\Hasta\vHastaUst.jsp(4,2) Unable to open taglibrary http://www.softwareag.com/xtools/xapplication : null
void org.apache.jasper.compiler.JspParseEventListener.handleDirective(java.lang.String, org.apache.jasper.compiler.Mark, org.apache.jasper.compiler.Mark, java.util.Hashtable)
void org.apache.jasper.compiler.DelegatingListener.handleDirective(java.lang.String, org.apache.jasper.compiler.Mark, org.apache.jasper.compiler.Mark, java.util.Hashtable)
boolean org.apache.jasper.compiler.Parser$Directive.accept(org.apache.jasper.compiler.ParseEventListener, org.apache.jasper.compiler.JspReader, org.apache.jasper.compiler.Parser)
void org.apache.jasper.compiler.Parser.parse(java.lang.String, java.lang.Class[])
void org.apache.jasper.compiler.Parser.parse(java.lang.String)
void org.apache.jasper.compiler.Parser.parse()
boolean org.apache.jasper.compiler.Compiler.compile()
void org.apache.tomcat.facade.JasperLiaison.jsp2java(org.apache.jasper.compiler.JasperMangler, org.apache.jasper.JspCompilationContext)
int org.apache.tomcat.facade.JasperLiaison.processJspFile(org.apache.tomcat.core.Request, java.lang.String, org.apache.tomcat.facade.ServletHandler, java.util.Properties)
int org.apache.tomcat.facade.JspInterceptor.requestMap(org.apache.tomcat.core.Request)
int org.apache.tomcat.core.ContextManager.processRequest(org.apache.tomcat.core.Request)
void org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
void org.apache.tomcat.modules.server.Http10Interceptor.processConnection(org.apache.tomcat.util.net.TcpConnection, java.lang.Object[])
void org.apache.tomcat.util.net.TcpWorkerThread.runIt(java.lang.Object[])
void org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
void java.lang.Thread.run()

X-Application Version: 3.1.2
Tamino Version : 3.1.1
Platform : Win2k,
WebContainer : Tomcat 3.3a
JDK Version : 1.3.0

Maybe the tld file missing in your web-application.

Could you please compare the content of your
"c:\Hasta" directory with the content of an
X-application examples, e.g. “examples\jsp\property”? In particular,
there should be a WEB_INF/jsp subdirectory that
contains “xapplication.tld”.

If this file is present and correct … mhm,
maybe a lower/upper case problem?


Michael

Software AG Germany, Darmstadt

Hi Michael,
The tld file exists in the correct place.
And the jsp file used to work before :frowning:
Can this exception occur because of the environment?
(from JDK version or any change in Windows)

Hi Mehmet,

one thing you can try (like always ;-):

Delete work directory of Tomcat and restart it (especially if you moved the application).
Maybe, it’s (again) an uppercase/lowercase problem.
For this please see Haralds TipTomcat uppercase/lowercase tip

Since you wrote that your xapplication.tld file exists in the right location (namely: C:\Hasta\WEB-INF\jsp\xapplication.tld), there could exist a problem with the file itself.

So, if the tip above didn’t work for you, please send your xapplication.tld and web.xml file for further investigation.

In addition to this you may have a look at the topic Problems with generated JSP files. On first sight it seems somehow similar to the problem you described.

Hope I could help you

Stefan Schwalm
Software AG, Darmstadt