[jboss-dev-forums] [Design of JBossXB] - JAXB annotations for OSGi Blueprint
thomas.diesler@jboss.com
do-not-reply at jboss.com
Fri Jun 19 12:21:34 EDT 2009
> JAXB annotations is the recommended way now.
I looked at
http://www.jboss.org/community/wiki/JBossXBPOTutorial
but could not find a tutorial that uses JAXB annotations.
Could you please provide one?
Using annotations I get
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {http://www.osgi.org/xmlns/blueprint/v1.0.0}bean not found as a child of {http://www.osgi.org/xmlns/blueprint/v1.0.0}blueprint
| at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:400)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
|
Here is the new parser
https://anonsvn.jboss.org/repos/jbossas/projects/jboss-osgi/trunk/blueprint/impl/src/main/java/org/jboss/osgi/blueprint/parser/SchemaResolverParser.java
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238820#4238820
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238820
More information about the jboss-dev-forums
mailing list