0

After updating to Glassfish v.3.1.2.2 I continually get this error:

Application builds with no errors, on deploy using Maven Glassfish plugin:

mvn glassfish:redeploy 

response:

Could not find sub module [appName.war] as defined in application.xml deployment of EAR failed.

When I search in folder Glassfish domain applications inside the deployed EAR folder I see this file structure:

-- .glassfishStaleFiles
-- [appName-1.0.0_war] / WEB-INF / lib / richfaces-core-impl-4.3.1.Final.jar

When I open .glassfishStaleFiles with a text editor I see:

atlanteusWeb-1.0.0_war/
atlanteusWeb-1.0.0_war/WEB-INF/
atlanteusWeb-1.0.0_war/WEB-INF/lib/
atlanteusWeb-1.0.0_war/WEB-INF/lib/richfaces-core-impl-4.3.1.Final.jar

I believe that this jar dependency file might be causing the issue, but even after updating to the latest version the error remains

to deploy the EAR again I need to shutdown Glassfish, and clean manually the applications folder, start again and deploy

4

1 回答 1

0

Glassfish v.3.1.2.2 for Windows 的现有实现似乎存在问题,更新到版本 4 后问题得到解决。

于 2013-06-25T22:20:57.300 回答