java.lang.Exception: Deployment of br.com.sonner.git.app [243] failed because of following reason: Exception while loading the app : java.lang.Exception: java.lang.Exception: WEB0113: Virtual server [server] already has a web module [br.com.sonner.git.app_1.0.0.SNAPSHOT] loaded at [/git]; therefore web module [br.com.sonner.git.app_1.0.0.SNAPSHOT] cannot be loaded at this context path on this virtual server.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
Deployment of br.com.sonner.git.app [243] failed because of following reason: Exception while loading the app : java.lang.Exception: java.lang.Exception: WEB0113: Virtual server [server] already has a web module [br.com.sonner.git.app_1.0.0.SNAPSHOT
via nabble.com by Unknown author, 1 year ago
Deployment of com.synchronica.admin.AdminTst [225] failed because of following reason: Exception while loading the app : org.glassfish.deployment.common.DeploymentException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodHandler field javax.transaction.UserTransaction_$$_javassist_0.default_interceptor to org.jboss.weld.util.CleanableMethodHandler
java.lang.Exception: Deployment of br.com.sonner.git.app [243] failed because of following reason: Exception while loading the app : java.lang.Exception: java.lang.Exception: WEB0113: Virtual server [server] already has a web module [br.com.sonner.git.app_1.0.0.SNAPSHOT] loaded at [/git]; therefore web module [br.com.sonner.git.app_1.0.0.SNAPSHOT] cannot be loaded at this context path on this virtual server.
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:103)
at org.glassfish.osgiweb.WebExtender.deploy(WebExtender.java:170)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3734)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1807)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1133)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1119)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:432)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.