[seam-issues] [JBoss JIRA] Commented: (SEAMXML-45) Problem with empty beans.xml

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Fri Apr 15 08:03:33 EDT 2011


    [ https://issues.jboss.org/browse/SEAMXML-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595847#comment-12595847 ] 

Jozef Hartinger commented on SEAMXML-45:
----------------------------------------

Although the empty namespace is not explicitly allowed in the spec, Seam Config should not fail due to it, since it is supported by Weld (works fine on both JBoss AS and GlassFish)

> Problem with empty beans.xml
> ----------------------------
>
>                 Key: SEAMXML-45
>                 URL: https://issues.jboss.org/browse/SEAMXML-45
>             Project: Seam Config
>          Issue Type: Bug
>    Affects Versions: 3.0.0.CR4
>            Reporter: Matthias Unverzagt
>
> With
> <seam.version>3.0.0.Final</seam.version>
> I got ERROR log message
> org.jboss.seam.config.xml.util.XmlConfigurationException: 
> Wrong root namespace for XML config file, 
> expected:urn:java:ee or http://java.sun.com/xml/ns/javaee found: at jar:file:/E:/.../WEB-INF/lib/seam-conversation-spi-3.0.0.CR1.jar!/META-INF/beans.xml:19
> Please repair config or (to make it deployable) add namespace in empty seam-conversation-spi-3.0.0.CR1.jar/META-INF/beans.xml
> <beans xmlns="http://java.sun.com/xml/ns/javaee"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://docs.jboss.org/cdi/beans_1_0.xsd">
> </beans>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list