Hi Dan, You are close, but I think its simply that the class version in the
myapp-webapp project is not being replaced after I made the change you
suggested, so when I try to run the app I get the runtime error message,
and when I go to the webpage also. I think I have to make the myapp-webapp
dependant on the myapp-dom project in Eclipse itself, rather than thinking
Maven does everything when I change the dom.

I'm trying to get someone interested in Isis with a demo, but I am a bit
out of practice with Java :(


On Mon, May 25, 2015 at 5:22 PM, Dan Haywood <d...@haywood-associates.co.uk>
wrote:

> My guess is that it isn't a Maven error, but instead is an Isis one.
>
> The @DomainObject(objectType=..) annotation defines an alias for the Class
> that is used in the Restful Objects REST API (as well as elsewhere); Isis
> requires that it is unique across all entities. So just change the value of
> this in your copy and try again.
>
> Cheers, Dan
> On 25 May 2015 06:51, "Stephen Cameron" <steve.cameron...@gmail.com>
> wrote:
>
> > Hello,
> >
> > I am trying to modify the SimpleApp archetype in Eclipse, but I am not
> very
> > familiar with Maven. When I modifiy the myapp-dom project, by copying the
> > SimpleObject and renaming it I need to make the changes flow through to
> the
> > webapp project. At the moment I am getting an Isis error message, in the
> > jetty:run target, telling me I have two 'SIMPLE' objects.
> >
> > Sorry this is a basic question, but can someone please point  me to a
> guide
> > that explains how to work with Maven in this project group in
> > Eclipse situation.
> >
> > Thanks
> > Steve Cameron
> >
>

Reply via email to