gpt4 book ai didi

eclipse - 配置 "serve modules without publishing"时出错

转载 作者:行者123 更新时间:2023-11-28 23:34:18 24 4
gpt4 key购买 nike

我最近使用“不发布服务模块”选项配置了我的 tomcat 6.0,以避免在执行热代码替换时结束 http session 。从那时起,我在启动服务器时遇到下一个错误:

GRAVE: WSSERVLET11: failed to parse runtime descriptor: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'K' (code 75) in prolog; expected '<'
at [row,col,system-id]: [1,1,"jndi:/localhost/projectX/WEB-INF/wsdl/.svn/prop-base/WSprojectXService_schema1.xsd.svn-base"]
XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'K' (code 75) in prolog; expected '<'
at [row,col,system-id]: [1,1,"jndi:/localhost/projectX/WEB-INF/wsdl/.svn/prop-base/WSprojectXService_schema1.xsd.svn-base"]
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:246)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:70)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:85)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:75)
at com.sun.xml.ws.server.SDDocumentImpl.create(SDDocumentImpl.java:77)
at com.sun.xml.ws.server.EndpointFactory.categoriseMetadata(EndpointFactory.java:413)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:139)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:318)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:337)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:239)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:131)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:90)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'K' (code 75) in prolog; expected '<'
at [row,col,system-id]: [1,1,"jndi:/localhost/projectX/WEB-INF/wsdl/.svn/prop-base/WSprojectXService_schema1.xsd.svn-base"]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:639)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2052)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134)
at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:60)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:51)
... 25 more

如果没有“服务模块而不发布”选项,这个错误以前从未发生过。似乎正在尝试解析 svn 内部文件,并且出现解析异常。

提前致谢。

最佳答案

文件

.svn/prop-base/WSprojectXService_schema1.xsd.svn-base

不应导出到 tomcat。

升级到最新版本的颠覆。它只有一个 .svn 文件夹(在最旧的父文件夹中),而不是每个子文件夹(这就是为什么要导出 .svn 子文件夹)。

您可以尝试告诉 eclipse 不要导出 .svn 子文件夹,但我不知道该怎么做......

维克多。

关于eclipse - 配置 "serve modules without publishing"时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26159069/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com