Appfuse and Compass error

3 messages Options
Embed this post
Permalink
keano1980

Appfuse and Compass error

Reply Threaded More More options
Print post
Permalink
Hi,

I've created a new appfuse 2.0.2 project and I'm now trying to add the Compass functionality from the tutorial:

http://code.google.com/p/pagingappfuse/wiki/CompassSearching

I've followed the tutorial above, and added the Compass anotations to User.java class, but when I run mvn jetty:run to view the application it fires an error saying

'org.compass.core.mapping.MappingException: Mapping for alias [User] has no id mappings defined.'

Is there something missing from the tutorial to get this running?

Thanks
mraible

Re: Appfuse and Compass error

Reply Threaded More More options
Print post
Permalink
The following issue has a patch you might be able to use.

http://issues.appfuse.org/browse/APF-267

Also, Compass is already integrated in 2.1-SNAPSHOT if you want to include appfuse-data-common-2.1-SNAPSHOT as a dependency.

Matt

On Tue, Oct 27, 2009 at 11:04 AM, keano1980 <[hidden email]> wrote:

Hi,

I've created a new appfuse 2.0.2 project and I'm now trying to add the
Compass functionality from the tutorial:

http://code.google.com/p/pagingappfuse/wiki/CompassSearching

I've followed the tutorial above, and added the Compass anotations to
User.java class, but when I run mvn jetty:run to view the application it
fires an error saying

'org.compass.core.mapping.MappingException: Mapping for alias [User] has no
id mappings defined.'

Is there something missing from the tutorial to get this running?

Thanks

--
View this message in context: http://www.nabble.com/Appfuse-and-Compass-error-tp26081384s2369p26081384.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


watcher

Re: Appfuse and Compass error

Reply Threaded More More options
Print post
Permalink
Hi Matt

I've downloaded the latest snapshot

When I run > mvn install

it complains about Failed to resolve artifact

maven-archetype-plugin:pom:2.0-alpha-5-SNAPSHOT

This version dosn't appear to be in the maven repos



mraible wrote:
The following issue has a patch you might be able to use.

http://issues.appfuse.org/browse/APF-267

Also, Compass is already integrated in 2.1-SNAPSHOT if you want to include
appfuse-data-common-2.1-SNAPSHOT as a dependency.

Matt

On Tue, Oct 27, 2009 at 11:04 AM, keano1980 <mdenieffe@gmail.com> wrote:

>
> Hi,
>
> I've created a new appfuse 2.0.2 project and I'm now trying to add the
> Compass functionality from the tutorial:
>
> http://code.google.com/p/pagingappfuse/wiki/CompassSearching
>
> I've followed the tutorial above, and added the Compass anotations to
> User.java class, but when I run mvn jetty:run to view the application it
> fires an error saying
>
> 'org.compass.core.mapping.MappingException: Mapping for alias [User] has no
> id mappings defined.'
>
> Is there something missing from the tutorial to get this running?
>
> Thanks
>
> --
> View this message in context:
> http://www.nabble.com/Appfuse-and-Compass-error-tp26081384s2369p26081384.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@appfuse.dev.java.net
> For additional commands, e-mail: users-help@appfuse.dev.java.net
>
>