cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Build from trunk
Date Tue, 12 Apr 2011 14:42:39 GMT
Ah sorry forgot the list address... 

On Apr 12, 2011, at 5:42 PM, Andrus Adamchik wrote:

> This makes sense. It appears that cayenne.xml was created by CayenneModeler v3.0. Trunk
is v3.1. I suggest to download CayenneModeler v3.1M2 (the official milestone release) from
http://cayenne.apache.org/download.html and perform all the mapping tasks with it. A bit on
the differences between stable 3.0 and dev 3.1: http://cayenne.apache.org/doc/guide-to-31-features.html
> 
> Andrus
> 
> 
> On Apr 12, 2011, at 5:36 PM, Christian Grobmeier wrote:
> 
>> 
>> For some reason my config file is named cayenne.xml which works fine
>> with the prepared package. But when I use the trunk version, it needs
>> this file renamed to CayenneFilter.xml. I was forced to remove the
>> <domains> tag and just put <domain> in it.
>> 
>> When I did the renaming, i get another exception. It seems to me
>> Cayenne finds my map, but for some reason this ex is thrown:
>> 
>> org.apache.cayenne.configuration.server.DataDomainLoadException:
>> [v.${project.version} ${project.build.date} ${project.build.time}]
>> Error loading DataChannel: '[v.${project.version}
>> ${project.build.date} ${project.build.time}] Invalid class
>> org.apache.cayenne.conf.DriverDataSourceFactory of type
>> org.apache.cayenne.configuration.server.DataSourceFactory'
>> 	at org.apache.cayenne.configuration.server.DataDomainProvider.get(DataDomainProvider.java:100)
>> 	at org.apache.cayenne.configuration.server.DataDomainProvider.get(DataDomainProvider.java:1)
>> 	at org.apache.cayenne.di.spi.CustomProvidersProvider.get(CustomProvidersProvider.java:38)
>> 	at org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:42)
>> 	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:49)
>> 	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:107)
>> 	at org.apache.cayenne.di.spi.FieldInjectingProvider.injectMember(FieldInjectingProvider.java:93)
>> 	at org.apache.cayenne.di.spi.FieldInjectingProvider.injectMembers(FieldInjectingProvider.java:58)
>> 	at org.apache.cayenne.di.spi.FieldInjectingProvider.get(FieldInjectingProvider.java:43)
>> 	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:49)
>> 	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:103)
>> 	at org.apache.cayenne.configuration.web.SessionContextRequestHandler.requestStart(SessionContextRequestHandler.java:71)
>> 	at org.apache.cayenne.configuration.web.CayenneFilter.doFilter(CayenneFilter.java:95)
> 


Mime
View raw message