2 Replies Latest reply on Feb 16, 2009 11:13 PM by Surajit Choudhury

    Maven build issue with own marshaler

    Surajit Choudhury Newbie

      I am trying to build a service unit for reading from a WebLogic JMS queue and using a marshaler for conversion from bytes to text. Once I added the servicemix modules to the dependencies to compile the marshaler, I have now run into a weird error:

      -


      org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable to generate service unit descriptor!

              at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.generateJbiDescriptor(GenerateServiceUnitDescriptorMojo.java:206)

      ...

      Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL file:/D:/Surajit_Docs/workspace34/jms-to-file/jms-to-file-jms-rdr-su/src/main/resources/xbean.xml; nested exception is java.lang

      .IllegalStateException: Unable to create Java 1.5 dependent parser: org.springframework.context.annotation.ComponentScanBeanDefinitionParser

              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:385)

      -


      What does the error mean?

      Thanks.