tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: type mismatch after Custom Injection
Date Tue, 06 May 2008 20:45:55 GMT
On May 6, 2008, at 7:06 AM, WhiteSock wrote:

> I followed the guide of Custom Injection Example. After injection, I  
> found
> the elements' type of data member "List<Pickup> pickups" seemed to  
> be String
> instead of Pickup. The data member "Map<String, Float>  
> guitarStringGuages"
> seemed to be Map<String, String>.
> Could you tell me the reason?

Not sure what could cause that other than having an older version of  
OpenEJB or the xbean-reflect library.

When I run with 'mvn -X clean install' among the copious output it  
shows this as the test classpath.  You should see something similar:

[DEBUG] Test Classpath :
[DEBUG]   /private/tmp/openejb-examples-3.0/custom-injection/target/ 
classes
[DEBUG]   /private/tmp/openejb-examples-3.0/custom-injection/target/ 
test-classes
[DEBUG]   /Users/dblevins/.m2/repository/log4j/log4j/1.2.12/ 
log4j-1.2.12.jar
[DEBUG]   /Users/dblevins/.m2/repository/asm/asm-tree/2.2.3/asm- 
tree-2.2.3.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openjpa/openjpa/ 
1.0.1/openjpa-1.0.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/xbean- 
reflect/3.4-r636442/xbean-reflect-3.4-r636442.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/geronimo/ 
components/geronimo-transaction/2.1/geronimo-transaction-2.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/geronimo/javamail/ 
geronimo-javamail_1.4_mail/1.2/geronimo-javamail_1.4_mail-1.2.jar
[DEBUG]   /Users/dblevins/.m2/repository/commons-lang/commons-lang/2.1/ 
commons-lang-2.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/backport-util-concurrent/ 
backport-util-concurrent/2.1/backport-util-concurrent-2.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/commons-cli/commons-cli/1.1/ 
commons-cli-1.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/xbean/xbean-naming/ 
3.3/xbean-naming-3.3.jar
[DEBUG]   /Users/dblevins/.m2/repository/asm/asm/2.2.3/asm-2.2.3.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/codehaus/swizzle/swizzle- 
stream/1.0.1/swizzle-stream-1.0.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/asm/asm-commons/2.2.3/asm- 
commons-2.2.3.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/openejb- 
loader/3.0/openejb-loader-3.0.jar
[DEBUG]   /Users/dblevins/.m2/repository/hsqldb/hsqldb/1.8.0.7/ 
hsqldb-1.8.0.7.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/openejb- 
jee/3.0/openejb-jee-3.0.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/xbean- 
finder/3.4-r636442/xbean-finder-3.4-r636442.jar
[DEBUG]   /Users/dblevins/.m2/repository/commons-logging/commons- 
logging/1.1/commons-logging-1.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/com/sun/xml/bind/jaxb-impl/ 
2.0.5/jaxb-impl-2.0.5.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/commons- 
dbcp-all/1.3/commons-dbcp-all-1.3.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/javaee-api/ 
5.0-1/javaee-api-5.0-1.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/openejb- 
core/3.0/openejb-core-3.0.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/activemq/activeio- 
core/3.0.0-incubator/activeio-core-3.0.0-incubator.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/openejb/openejb- 
javaagent/3.0/openejb-javaagent-3.0.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/activemq/activemq- 
core/4.1.1/activemq-core-4.1.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/wsdl4j/wsdl4j/1.6.1/ 
wsdl4j-1.6.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/geronimo/ 
components/geronimo-connector/2.1/geronimo-connector-2.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/commons-collections/commons- 
collections/3.2/commons-collections-3.2.jar
[DEBUG]   /Users/dblevins/.m2/repository/junit/junit/4.4/junit-4.4.jar
[DEBUG]   /Users/dblevins/.m2/repository/net/sourceforge/serp/serp/ 
1.13.1/serp-1.13.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/apache/activemq/activemq- 
ra/4.1.1/activemq-ra-4.1.1.jar
[DEBUG]   /Users/dblevins/.m2/repository/org/objectweb/howl/howl/ 
1.0.1-1/howl-1.0.1-1.jar


Mime
View raw message