org.glassfish.deployment.common.DeploymentException: WELD-001201 Error loading beans.xml java.io.IOException: Cannot open a foreign URL; this.url=jar:file:/Users/paulsandoz/Downloads/glassfish-bugs%25202/ frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- SNAPSHOT/lib/frobnicator-jaxrs-1.0-SNAPSHOT.jar!/META-INF/beans.xml; foreign.url=jar:file:/Users/paulsandoz/Downloads/glassfish-bugs%25202/ frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- SNAPSHOT/lib/frobnicator-jaxrs-1.0-SNAPSHOT.jar!/META-INF/beans.xml

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 ljnelson, 1 year ago
WELD-001201 Error loading beans.xml java.io.IOException: Cannot open a foreign URL; this.url=jar:file:/Users/paulsandoz/Downloads/glassfish-bugs%25202/ frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- SNAPSHOT/lib/frobnicator
via hivmr.com by Unknown author, 1 year ago
WELD-001202 Error parsing org.xml.sax.SAXParseException: Premature end of file.
via Oracle Community by 3004, 1 year ago
WELD-001202 Error parsing org.xml.sax.SAXParseException: Premature end of file.
via ocpsoft.org by Unknown author, 1 year ago
Injection point has ambiguous dependencies. Injection point: field org.jboss.seam.faces.event.PhaseEventBridge.log; Qualifiers: [@javax.enterprise.inject.Default()]; Possible dependencies: [org.jboss.weld.bean-/D:/Program Files (x86)/GlassFish-Tools
via Stack Overflow by Chris
, 2 years ago
CDI deployment failure:WELD-001413: The bean Managed Bean [class org.clearbyte.bongo2.helloweb.HelloServiceController] with qualifiers [@Any @Default] declares a passivating scope but has a non-passivation-capable dependency org.glassfish.osgicdi.impl.OSGiServiceExtension$OSGiServiceBean@64b8a040
via GitHub by mjkowalski
, 1 year ago
CDI deployment failure:WELD-001417: Enabled interceptor class <class>org.mybatis.cdi.LocalTransactionInterceptor</class> in file:/tmp/gfembed3604631096618476727tmp/applications/my-mybatis-app/WEB-INF/classes/META-INF/beans.xml@7 does not match an
org.glassfish.deployment.common.DeploymentException: WELD-001201 Error loading beans.xml java.io.IOException: Cannot open a foreign URL; this.url=jar:file:/Users/paulsandoz/Downloads/glassfish-bugs%25202/ frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- SNAPSHOT/lib/frobnicator-jaxrs-1.0-SNAPSHOT.jar!/META-INF/beans.xml; foreign.url=jar:file:/Users/paulsandoz/Downloads/glassfish-bugs%25202/ frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- SNAPSHOT/lib/frobnicator-jaxrs-1.0-SNAPSHOT.jar!/META-INF/beans.xml
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:167)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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