會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

JForum中文社群 JForum Chinese Users Community » jforum在Eclipse里运行出错

發表人: shun, 十級學員
2013-10-11 19:57:47
由于jforum是一个用maven的构建标准开发的一个项目,故我在eclipse调试运行的时候首先考虑用到的web容器就是jetty,其二是 tomcat,

打开如下网址:http://localhost:8080/jforum/install.jsp
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: An exception occurred processing JSP page /install.jsp at line 1

1: <jsp:forward page="install/install.page?module=install&action=welcome"/>


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:442)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause

javax.servlet.ServletException: Servlet.init() for servlet install threw exception
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause

net.jforum.exceptions.ForumStartupException: Error while starting JForum
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause

java.io.FileNotFoundException: C:\shunWS\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jforum\templates does not exist.
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.16 logs.

Apache Tomcat/7.0.16


以下是eclipse打印出的日记记录:
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: An exception occurred processing JSP page /install.jsp at line 1

1: <jsp:forward page="install/install.page?module=install&action=welcome"/>


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:442)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause

javax.servlet.ServletException: Servlet.init() for servlet install threw exception
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause

net.jforum.exceptions.ForumStartupException: Error while starting JForum
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause

java.io.FileNotFoundException: C:\shunWS\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jforum\templates does not exist.
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.16 logs.

Apache Tomcat/7.0.16


jetty

HTTP ERROR 500


Problem accessing /jforum/install.jsp. Reason:

Error while starting JForum
Caused by:

net.jforum.exceptions.ForumStartupException: Error while starting JForum
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.io.FileNotFoundException: C:\shunWS\jforum\src\main\webapp\templates does not exist.
... 38 more
Caused by:

java.io.FileNotFoundException: C:\shunWS\jforum\src\main\webapp\templates does not exist.
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Powered by Jetty://


以下是eclipse下使用jetty时候打印出的日记记录:

Running Jetty 6.1.26
2013-10-11 19:50:33.703:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
ParentLoaderPriority enabled
Context path:/jforum
ProjectClassLoader: entry=C:\shunWS\jforum\target\classes
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\dumbster\dumbster\1.6\dumbster-1.6.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\junit\junit\4.11\junit-4.11.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\javax\activation\activation\1.1.1\activation-1.1.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\javax\mail\mail\1.4.7\mail-1.4.7.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jdom\jdom2\2.0.5\jdom2-2.0.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-codec\commons-codec\1.6\commons-codec-1.6.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-fileupload\commons-fileupload\1.3\commons-fileupload-1.3.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-io\commons-io\2.2\commons-io-2.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\freemarker\freemarker\2.3.19\freemarker-2.3.19.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\htmlparser\htmlparser\2.1\htmlparser-2.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\htmlparser\htmllexer\2.1\htmllexer-2.1.jar
ProjectClassLoader: entry=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-analyzers\3.6.2\lucene-analyzers-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-core\3.6.2\lucene-core-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-highlighter\3.6.2\lucene-highlighter-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-memory\3.6.2\lucene-memory-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-queries\3.6.2\lucene-queries-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\jakarta-regexp\jakarta-regexp\1.4\jakarta-regexp-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\beanshell\bsh\2.0b5\bsh-2.0b5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\quartz-scheduler\quartz\2.1.7\quartz-2.1.7.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\cache\jbosscache-core\3.2.7.GA\jbosscache-core-3.2.7.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\javaee\jboss-transaction-api\1.0.1.GA\jboss-transaction-api-1.0.1.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\jboss-common-core\2.2.19.GA\jboss-common-core-2.2.19.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\logging\jboss-logging-spi\2.1.2.GA\jboss-logging-spi-2.1.2.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\net\sf\ehcache\ehcache-core\2.4.8\ehcache-core-2.4.8.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\net\sf\ehcache\ehcache-jgroupsreplication\1.4\ehcache-jgroupsreplication-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jgroups\jgroups\2.12.3.Final\jgroups-2.12.3.Final.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\octo\captcha\jcaptcha\1.0\jcaptcha-1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\octo\captcha\jcaptcha-api\1.0\jcaptcha-api-1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\jhlabs\imaging\01012005\imaging-01012005.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\slf4j\slf4j-log4j12\1.7.5\slf4j-log4j12-1.7.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\c3p0\c3p0\0.9.1.2\c3p0-0.9.1.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\mysql\mysql-connector-java\5.1.25\mysql-connector-java-5.1.25.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\postgresql\postgresql\9.1-901.jdbc3\postgresql-9.1-901.jdbc3.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\hsqldb\hsqldb\2.2.9\hsqldb-2.2.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\oracle\ojdbc14\10.2.0.4.0\ojdbc14-10.2.0.4.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\tika\tika-parsers\1.4\tika-parsers-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\tika\tika-core\1.4\tika-core-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\gagravarr\vorbis-java-tika\0.1\vorbis-java-tika-0.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\gagravarr\vorbis-java-core\0.1\vorbis-java-core-0.1-tests.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\edu\ucar\netcdf\4.2-min\netcdf-4.2-min.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\james\apache-mime4j-core\0.7.2\apache-mime4j-core-0.7.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\james\apache-mime4j-dom\0.7.2\apache-mime4j-dom-0.7.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\commons\commons-compress\1.5\commons-compress-1.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\tukaani\xz\1.2\xz-1.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\pdfbox\pdfbox\1.8.1\pdfbox-1.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\pdfbox\fontbox\1.8.1\fontbox-1.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\pdfbox\jempbox\1.8.1\jempbox-1.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\bouncycastle\bcmail-jdk15\1.45\bcmail-jdk15-1.45.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\bouncycastle\bcprov-jdk15\1.45\bcprov-jdk15-1.45.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi\3.9\poi-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi-scratchpad\3.9\poi-scratchpad-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi-ooxml\3.9\poi-ooxml-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi-ooxml-schemas\3.9\poi-ooxml-schemas-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\xmlbeans\xmlbeans\2.3.0\xmlbeans-2.3.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\geronimo\specs\geronimo-stax-api_1.0_spec\1.0.1\geronimo-stax-api_1.0_spec-1.0.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\ccil\cowan\tagsoup\tagsoup\1.2.1\tagsoup-1.2.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\ow2\asm\asm-debug-all\4.1\asm-debug-all-4.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\googlecode\mp4parser\isoparser\1.0-RC-1\isoparser-1.0-RC-1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\aspectj\aspectjrt\1.6.11\aspectjrt-1.6.11.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\drewnoakes\metadata-extractor\2.6.2\metadata-extractor-2.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\adobe\xmp\xmpcore\5.1.2\xmpcore-5.1.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\xerces\xercesImpl\2.8.1\xercesImpl-2.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\xml-apis\xml-apis\1.3.03\xml-apis-1.3.03.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\de\l3s\boilerpipe\boilerpipe\1.1.0\boilerpipe-1.1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\rome\rome\0.9\rome-0.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\jdom\jdom\1.0\jdom-1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\gagravarr\vorbis-java-core\0.1\vorbis-java-core-0.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\googlecode\juniversalchardet\juniversalchardet\1.0.3\juniversalchardet-1.0.3.jar
ProjectClassLoader: entry=C:\shunWS\jforum\src\main\webapp\WEB-INF\lib\sqljdbc4.jar
Excluded entry=C:\shunWS\jforum\target\test-classes
2013-10-11 19:50:33.875:INFO::jetty-6.1.26
2013-10-11 19:50:34.953:INFO::Started SelectChannelConnector@0.0.0.0:8080
2013-10-11 19:51:53.453:WARN:/jforum:unavailable
net.jforum.exceptions.ForumStartupException: Error while starting JForum
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:10smilie
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:92smilie
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2013-10-11 19:51:53.453:WARN::/jforum/install.jsp
net.jforum.exceptions.ForumStartupException: Error while starting JForum
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:10smilie
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:92smilie
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


望指点...谢谢..




會員註冊 / 登入  |  電腦版  |  Jump to top of page