weixin_39603217
weixin_39603217
2020-12-09 11:41

WEB-INF/lib content not working in exploded war

WEB-INF/lib content not working in exploded war

From the support for exploded EAR, https://glassfish.dev.java.net/issues/show_bug.cgi?id=10718 https://glassfish.dev.java.net/issues/show_bug.cgi?id=11766 Mitesh and I looked at the exploded WAR scenario. my.war

| --WEB-INF/classes/ | | --MyServlet.class --> This refers to pu | | --MyTest.class | | --WEB-INF/lib/mypu.jar/ | | --META-INF/persistence.xml | | --MyEntity.class |

MyEntity.class, which is present in lib dir of the exploded war, is not visible to MyTest.class in WEB-INF/classes.

Mitesh, Hong and Ludo discussed this issue. Ludo suggested to file a bug for the web tier to fix at GF side since he was thinking of modifying the Eclipse plugin to support it later.

My test case will be attached next.

Environment

Operating System: All Platform: All

Affected Versions

[3.1]

该提问来源于开源项目:eclipse-ee4j/glassfish

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

9条回答

  • weixin_39603217 weixin_39603217 5月前
    • Issue Imported From: https://github.com/javaee/glassfish/issues/11802
    • Original Issue Raised By:
    • Original Issue Assigned To:
    • Original Issue Closed By:
    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented sherryshen said: Created an attachment (id=4304) my test case with steps to reproduce issue

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented said: Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/impl/WarScanner.java Sending web/war-util/src/main/java/com/sun/enterprise/glassfish/web/WarHandler.java Transmitting file data .. Committed revision 36511.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented sherryshen said: Verified the fix on v3.1 build 5 promoted.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented vetler said: I am able to reproduce this on Glassfish 3.1 nightly from 13-Dec-2010 06:18, using the attached file. Is this a regression? I had an error deploying my app using the latest Glassfish server plugin in Eclipse, and saw that it now used exploded JARs.

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented File: exploded_war.zip Attached By: sherryshen

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented This issue was imported from java.net JIRA GLASSFISH-11802

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Reported by sherryshen

    点赞 评论 复制链接分享
  • weixin_39603217 weixin_39603217 5月前

    Commented Marked as fixed on Monday, June 21st 2010, 5:38:36 am

    点赞 评论 复制链接分享

相关推荐