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...
That gave me the following Spring Problem...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>
applicationContext-jms.xml...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
How do I clear this problem?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> ...


Reply With Quote
