为什么在WebSphere Liberty Profile启动时找不到清单类路径条目?

mwa*_*ter 6 manifest classpath websphere-liberty

使用WebSphere Liberty Profile(版本2013.11.0.0 - 8.5.5.Next Alpha和扩展内容)启动我的应用程序时,会出现很多警告:

W SRVE9967W: The manifest class path dhbcore.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path jms.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path com.ibm.mq.jmqi.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path dhbcore.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path rmm.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path jndi.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path ldap.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path fscontext.jar can not be found in jar wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path providerutil.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path jta.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path com.ibm.mq.ese.jar can not be found in jar wsjar:file:[blablabla] or its parent.
Run Code Online (Sandbox Code Playgroud)

我尝试用这个论坛帖子中server start --clean说明的方法修复它,但它没有帮助.在Stackoverflow上有一个类似的问题,但是在IBM开启PMR之前,可能有人也经历过这个问题并且已经解决了.

Bre*_*ail 9

这些警告表示右侧的JAR(中的一个wsjar:file:...)有一个META-INF/MANIFEST.MF文件,其中的Class-Path属性引用左侧的JAR(例如dhbcore.jar),但这些JAR实际上并不存在.

此警告表示应用程序打包问题,而不是可以通过更改配置,重新启动服务器等解决的问题.它正在尝试帮助您避免类加载问题的常见原因:错误地格式化Class-Path属性和拼写错误的JAR名称.

编辑:自8.5.5.4起,<logging hideMessage="SRVE9967W">配置可用于在审阅后删除这些消息.确保在添加新应用程序时临时删除隐藏(或调试应用程序类路径问题).请参阅知识中心中的" 日志记录和跟踪"主题.