[英]Jetty Server does not start
I have a problem running jetty server. 我在运行码头服务器时遇到问题。
>>> STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP
[main] INFO org.apache.wicket.velocity.Initializer - Initialized Velocity successfully
[main] WARN org.apache.wicket.protocol.http.WicketFilter - initialization failed, destroying now
[main] INFO org.apache.wicket.Application - [wicket.project] destroy: Wicket core library initializer
[main] INFO org.apache.wicket.Application - [wicket.project] destroy: DevUtils DebugBar Initializer
[main] INFO org.apache.wicket.Application - [wicket.project] destroy: Wicket extensions initializer
[main] INFO org.apache.wicket.Application - [wicket.project] destroy: Wicket JMX initializer
[main] INFO org.apache.wicket.Application - [wicket.project] destroy: org.apache.wicket.velocity.Initializer@1453a1c7
[main] WARN org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED wicket.project: javax.servlet.ServletException: java.lang.UnsupportedOperationException: path to '/C:/Users/F%c4%b1rat/Desktop/2/src/itudb1323.db': 'C:\Users\F%c4%b1rat' does not exist
javax.servlet.ServletException: java.lang.UnsupportedOperationException: path to '/C:/Users/F%c4%b1rat/Desktop/2/src/itudb1323.db': 'C:\Users\F%c4%b1rat' does not exist
at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:449)
The problem seems like this C:/Users/F%c4%b1rat/Desktop/2/src/itudb1323.db': 'C:\\Users\\F%c4%b1rat' does not exist
The path should be C:/Users/Fırat/Desktop/2/src/itudb1323.db
however it tries to find F%c4%b1rat
问题似乎是这样的
C:/Users/F%c4%b1rat/Desktop/2/src/itudb1323.db': 'C:\\Users\\F%c4%b1rat' does not exist
路径应为C:/Users/Fırat/Desktop/2/src/itudb1323.db
但是它尝试查找F%c4%b1rat
The ı
is interpreted by Java as ... Java将
ı
解释为...
U+0131 LATIN SMALL LETTER DOTLESS I character (ı)
Which is UTF-8 translated from the Windows-1252 codepage as Hex 0xC4 0xB1
, hence the F%c4%b1rat
part of the path. 这是从Windows-1252代码页转换为
0xC4 0xB1
UTF-8,因此是路径的F%c4%b1rat
部分。 Which is required to be URL encoded for the URLClassLoader. URLClassLoader必须对其进行URL编码。
Sounds like you have hit a JVM bug with unicode and/or windows codepage support in the URLClassloader. 听起来好像您通过URLClassloader中的unicode和/或Windows代码页支持遇到了JVM错误。 Would encourage you to not deploy on these kinds of paths, or upgrade your JVM to see if this is better supported with a later JVM.
鼓励您不要在这些类型的路径上进行部署,或者升级您的JVM,以查看更高版本的JVM是否更好地支持了这一点。
You can try to put your workspace into a directory which does not contain Windows-1254 character set (Example: Under C:/
). 您可以尝试将工作空间放入不包含Windows-1254字符集的目录中(例如:在
C:/
)。 This is a temporary solution but it can fix your problem. 这是一个临时解决方案,但可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.