[英]javax.servlet.UnavailableException: EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap - running Struts 1.3.5 on Jetty 9.2.2
[英]Error Running JSP on Jetty Server v 9.2.2
我已經安裝了Jetty Web服務器v 9.2.2,以便將其與Netbeans一起用於Java Web開發:
現在,當我運行項目時,出現以下錯誤:
WARNING: ** Unable to continue, required dependency missing. [jsp-impl/${jsp-impl}-jstl]
WARNING: ** As configured, Jetty is unable to start due to a missing enabled module dependency.
WARNING: ** This may be due to a transitive dependency akin to spdy on npn, which resolves based on the JDK in use.
Missing referenced dependency: jsp-impl/${jsp-impl}-jstl
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
Java Result: -6
我遵循了啟用jsp支持的配置指南並在$ {jetty.home}的start.d文件夾中編輯了jsp.ini文件: http : //www.eclipse.org/jetty/documentation/current/configuring-jsp.html
但是我得到以下錯誤:
Unrecognized argument: "[depend]" in C:\jetty\work\JettyServerInstance\jettybase\start.d\jsp.ini
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
Java Result: -6
這里可能出什么問題了?
將-Djsp-impl=apache
或-Djsp-impl=glassfish
到命令行。
要么
將jsp-impl=apache
或jsp-impl=glassfish
到您的${jetty.base}/start.ini
這是需要修復的錯誤。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.