Problem : When the admin jetty-demo is Run as Ant Build , this following exception is thrown :-
java.lang.IllegalStateException: Duplicate fragment name: spring_web for jar:file:/C:/Users/Surjya_N/.m2/repository/org/springframework/spring-web/3.2.2.RELEASE/spring-web-3.2.2.RELEASE.jar!/META-INF/web-fragment.xml and jar:file:/D:/DemoSite-3.0.0-GA-eclipse-workspace/eclipse-workspace/DemoSite/admin/target/admin/WEB-INF/lib/spring-web-3.2.2.RELEASE.jar!/META-INF/web-fragment.xml
Suggested Solution in Web :- Adding of the following in the admin pom.xml
<webAppConfig>
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
</webAppConfig>
Inspite of making the above mentioned entry in the pom.xml also , the aforesaid problem still persists.
Please help me start the admin jetty-demo server. The default port mentioned for it to start is 8081, but in my machine that port has already been taken up by McAfee Antivirus, hence i changed the port to a different port and whenever i change it to a different port the above mentioned IllegalStateException happens. Please help.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.