目标是使用 ANT 构建 .ear,然后使用 wsadmin 将其部署在 Websphere 8.5 上。
手动从 jar 文件生成 ear 文件,部署后,Web 应用程序运行良好。
但是如果我使用 ANT 生成的耳朵,在部署后(手动或 wsadmin),我总是有这个错误:
SRVE0255E: A WebGroup/Virtual Host to handle /WebApp$%7Blogout.url%7D has not been defined.
SRVE0255E: A WebGroup/Virtual Host to handle localhost:9080 has not been defined.
有人知道哪个可能会引发这个问题。我之前遇到过这条消息,而我的同事直接从 Tomcat 服务器使用 war 文件部署在 websphere 上。
提前致谢。