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


Solutions on the web19

Solution icon of oraclecommunity
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

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
WELD-001202 Error parsing org.xml.sax.SAXParseException: Premature end of file.

Solution icon of web
via hivmr.com by Unknown author, 1 year ago
WELD-001202 Error parsing org.xml.sax.SAXParseException: Premature end of file.

Solution icon of github
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

Solution icon of github
-core-api-1.4.1, beanManagerId=test.1], - BeanDeployment [beanDeploymentArchiveId=test:1.1.war/WEB-INF/lib/test-services-0.0.5-SNAPSHOT, beanManagerId=test.5-SNAPSHOT], - BeanDeployment [beanDeploymentArchiveId=test:1.1.war/WEB-INF/lib/test

Solution icon of web
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

Solution icon of jboss
via JBoss Issue Tracker by Dyego Carmo, 1 year ago
WELD-001417 Enabled interceptor class class teste.BasicInterceptor is neither annotated @Interceptor nor registered through a portable extension

Solution icon of stackoverflow
via Stack Overflow by Peter Penzov
, 1 year ago
WELD-000075 Normal scoped managed bean implementation class has a public field: public@Named @SessionScoped class com.DX_57.HM_57.Tab1Page

Solution icon of stackoverflow
via Stack Overflow by Peter Penzov
, 1 year ago
WELD-000072 Managed bean declaring a passivating scope must be passivation capable. Bean: Managed Bean [class com.DX_57.HM_57.FormValidator] with qualifiers [@Any @Default @Named]

Solution icon of web
via xluat.com by Unknown author, 1 year ago
WELD-000072 Managed bean declaring a passivating scope must be passivation capable. Bean: Managed Bean [class com.DX_57.HM_57.FormValidator] with qualifiers [@Any @Default @Named]

Stack trace

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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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