Results 1 to 6 of 6

Thread: Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core

Hybrid View

  1. #1
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Question Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core

    Using STS 2.6.1 SR1, Roo 1.1.4 on JDK 1.6.0_20

    Created Roo Project, setup database and entity. AOK.

    Then from my Roo Shell...

    Code:
    ~.model.ExecutionLog roo> jms setup --provider ACTIVEMQ_IN_MEMORY --destinationName EXECUTIONLOG --destinationType QUEUE 
    Created SRC_MAIN_RESOURCES\META-INF\spring\applicationContext-jms.xml
    Updated ROOT\pom.xml [added dependencies org.springframework:spring-beans:${spring.version}, org.springframework:spring-jms:${spring.version}, org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1, org.apache.activemq:activemq-core:5.4.2, org.apache.xbean:xbean-spring:3.6]
    ~.model.ExecutionLog roo> jms listener class --class com.corenttech.care.model.ExecutionLog --destinationName EXEXCUTIONLOGIN --destinationType QUEUE 
    SRC_MAIN_JAVA\com\corenttech\care\model\ExecutionLog.java already exists
    ~.model.ExecutionLog roo> jms listener class --class ~.service.jms.ExecutionLogListener --destinationName EXECUTIONLOGIN --destinationType QUEUE 
    Created SRC_MAIN_JAVA\com\corenttech\care\service\jms
    Created SRC_MAIN_JAVA\com\corenttech\care\service\jms\ExecutionLogListener.java
    Updated SRC_MAIN_RESOURCES\META-INF\spring\applicationContext-jms.xml
    ~.model.ExecutionLog roo>
    That gave me the following Spring Problem...

    Code:
    Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core	applicationContext-jms.xml	/CAREExec/src/main/resources/META-INF/spring	line 4	Spring Beans Problem
    applicationContext-jms.xml...


    Code:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <beans xmlns="http://www.springframework.org/schema/beans" 
    xmlns:amq="http://activemq.apache.org/schema/core" 
    xmlns:aop="http://www.springframework.org/schema/aop" 
    xmlns:jms="http://www.springframework.org/schema/jms" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans-3.0.xsd                
        http://www.springframework.org/schema/aop 
        http://www.springframework.org/schema/aop/spring-aop-3.0.xsd                
        http://activemq.apache.org/schema/core 
        http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd   
        http://www.springframework.org/schema/jms 
        http://www.springframework.org/schema/jms/spring-jms-3.0.xsd">
        
        <!-- Embedded ActiveMQ Broker JMX MBean server enabled by default, access via: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi -->
        <amq:broker persistent="false" useJmx="true">
            <amq:transportConnectors>
                <amq:transportConnector uri="tcp://localhost:61616"/>
            </amq:transportConnectors>
        </amq:broker>
    ...
    How do I clear this problem?

  2. #2
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Question

    Your Roo script refers to these three distinct names (bold font added by me):

    • EXECUTIONLOG
    • EXEXCUTIONLOGIN
    • EXECUTIONLOGIN

    Are these all meant to say EXECUTIONLOG?
    Andrew Swan
    "Now is the EJB of our discontent made glorious Spring"

  3. #3
    Join Date
    Mar 2011
    Posts
    8

  4. #4
    Join Date
    Jun 2005
    Location
    São Paulo, Brasil
    Posts
    86

    Question

    Shouldn't the xsi:schemaLocation declaration take care of this namespace -> schema mapping?
    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

  5. #5
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    Does that error message "Unrecognized xbean namespace mapping..." appear when your launch your app or is it just a warning/error marker presented in your IDE (STS)?
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  6. #6
    Join Date
    Jun 2005
    Location
    São Paulo, Brasil
    Posts
    86

    Default

    No, just a marker in STS, and this marker doesn't appear in Eclipse Indigo.
    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •