以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 Web Services & Semantic Web Services 』  (http://bbs.xml.org.cn/list.asp?boardid=10)
----  配置juddi时,为什么会出现这种问题?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=10&rootid=&id=78267)


--  作者:ywwz_1986
--  发布时间:11/21/2009 12:30:00 AM

--  配置juddi时,为什么会出现这种问题?
http://bbs.w3china.org/dispbbs.asp?boardID=10&ID=70507

我是完完全全按照这个步骤来的,今天一天这个步骤走了N遍,但还是出现了一个错误

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:


An error occurred at line: 20 in the generated java file
Only a type can be imported. org.apache.taglibs.standard.tag.common.core.Util resolves to a package

An error occurred at line: 253 in the jsp file: /happyjuddi.jsp
Util cannot be resolved
250:     if ((dsname == null) || (dsname.trim().length() == 0)) {
251:       dsname = "java:comp/env/jdbc/juddiDB";
252:     } else {
253:       dsname = Util.escapeXml(dsname);
254:     }
255:     
256:     ctx = new InitialContext();


Stacktrace:
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:319)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.

请问这是什么原因呢?我实在是被整的心力交瘁了


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
2,984.375ms