Skip to Content
0
Former Member
Feb 19, 2007 at 12:17 PM

JspParseException: Unknown class name [java.util.Date]

17 Views

Hi Community,

i have a major problem with using custom Taglibs and Struts on SAP AS 7.00 engine! The JSPParser didnt find the default class java.util.date, which is included from the custom Taglib java-code. On Tomcat and SAP AS 5 EE it works fine.

All other application works, its only inside the taglib code.

Is it a class path problem and how can i fix it?

Runtime error in compiling of the JSP file sap.com/eonlastgang-ear/servlet_jsp/eonlastgang/root/jsp/analyzer/analyzer.jsp> ! The error is: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Cannot parse custom tag with short name [xychart].

at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspElement.customTagAction(JspElement.java:381)

at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspElement.action(JspElement.java:135)

at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ElementCollection.action(ElementCollection.java:52)

at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:340)

at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:106)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:238)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:429)

at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:169)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: <b>com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Unknown class name [java.util.Date].</b>

at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.convertString(TagBeginGenerator.java:372)

at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.generateSetters(TagBeginGenerator.java:194)

at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.generateServiceMethodStatements(TagBeginGenerator.java:219)

at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.generate(TagBeginGenerator.java:276)

at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.JspElement.customTagAction(JspElement.java:379)

... 22 more

xychart is my custom Taglib.

kind regards,

Marco Friedrich

Message was edited by:

Marco Friedrich