You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by Ekosso Sandrine <ee...@gmail.com> on 2019/10/21 19:19:15 UTC

Problems Running Juneau PetStore Application

Hello,

I just freshly cloned the PetStore application from Github but I had the
following issues when I tried to run the project with Maven 'mvn clean
package'.

https://pastebin.com/P5C6myy3

Someone should please look into this issue and possibly point out to me
what am doing wrong.

Regards.

Re: Problems Running Juneau PetStore Application

Posted by James Bognar <ja...@gmail.com>.
Hi Ishita,

You may need to pull down the latest code changes.  It should be
referencing juneau-rest-server-springboot 8.1.1, not 8.1.2-SNAPSHOT.

On Mon, Oct 28, 2019 at 2:56 AM Ishita Singh <is...@gmail.com> wrote:
>
> Hi,
> I have added the following tags in pom.xml to download SNAPSHOT.
>
> <snapshotRepository>
>     <id>apache.snapshots.https</id>
>     <name>Apache Development Snapshot Repository</name>
>     <url>https://repository.apache.org/content/repositories/snapshots</url>
>     <releases><enabled>false</enabled></releases>
>     <snapshots><enabled>true</enabled></snapshots>
> </snapshotRepository>
>
> But still getting the error
>
> Could not resolve dependencies for project org.springframework.boot:juneau-petstore-server:war:8.1.2-SNAPSHOT: Could not find artifact org.apache.juneau:juneau-rest-server-springboot:jar:8.1.2-SNAPSHOT
>
> How can I resolve this issue?
>
> Thanks.
>
>
> On Tue, Oct 22, 2019 at 3:30 PM Ekosso Sandrine <ee...@gmail.com> wrote:
>>
>> Hello,
>>
>> Thanks James. The project builds successfully now.
>>
>> On Mon, Oct 21, 2019 at 11:49 PM James Bognar <ja...@apache.org> wrote:
>>>
>>> The problem is likely that your Maven configuration is not set up to
>>> look for Apache snapshots.  I've change the prereq version of Juneau
>>> from 8.1.2-SNAPSHOT to 8.1.1.  Can you try again?
>>>
>>> On Mon, Oct 21, 2019 at 4:49 PM James Bognar <ja...@apache.org> wrote:
>>> >
>>> > Looking...
>>> >
>>> > On Mon, Oct 21, 2019 at 4:43 PM Ekosso Sandrine <ee...@gmail.com> wrote:
>>> > >
>>> > > Hello,
>>> > >
>>> > > I just freshly cloned the PetStore application from Github but I had the following issues when I tried to run the project with Maven 'mvn clean package'.
>>> > >
>>> > > https://pastebin.com/P5C6myy3
>>> > >
>>> > > Someone should please look into this issue and possibly point out to me what am doing wrong.
>>> > >
>>> > > Regards.

Re: Problems Running Juneau PetStore Application

Posted by Ishita Singh <is...@gmail.com>.
Hi,
I have added the following tags in pom.xml to download SNAPSHOT.

<snapshotRepository>
    <id>apache.snapshots.https</id>
    <name>Apache Development Snapshot Repository</name>
    <url>https://repository.apache.org/content/repositories/snapshots</url>
    <releases><enabled>false</enabled></releases>
    <snapshots><enabled>true</enabled></snapshots>
</snapshotRepository>

But still getting the error

Could not resolve dependencies for project
org.springframework.boot:juneau-petstore-server:war:8.1.2-SNAPSHOT:
Could not find artifact
org.apache.juneau:juneau-rest-server-springboot:jar:8.1.2-SNAPSHOT

How can I resolve this issue?

Thanks.


On Tue, Oct 22, 2019 at 3:30 PM Ekosso Sandrine <ee...@gmail.com>
wrote:

> Hello,
>
> Thanks James. The project builds successfully now.
>
> On Mon, Oct 21, 2019 at 11:49 PM James Bognar <ja...@apache.org>
> wrote:
>
>> The problem is likely that your Maven configuration is not set up to
>> look for Apache snapshots.  I've change the prereq version of Juneau
>> from 8.1.2-SNAPSHOT to 8.1.1.  Can you try again?
>>
>> On Mon, Oct 21, 2019 at 4:49 PM James Bognar <ja...@apache.org>
>> wrote:
>> >
>> > Looking...
>> >
>> > On Mon, Oct 21, 2019 at 4:43 PM Ekosso Sandrine <ee...@gmail.com>
>> wrote:
>> > >
>> > > Hello,
>> > >
>> > > I just freshly cloned the PetStore application from Github but I had
>> the following issues when I tried to run the project with Maven 'mvn clean
>> package'.
>> > >
>> > > https://pastebin.com/P5C6myy3
>> > >
>> > > Someone should please look into this issue and possibly point out to
>> me what am doing wrong.
>> > >
>> > > Regards.
>>
>

Re: Problems Running Juneau PetStore Application

Posted by Ekosso Sandrine <ee...@gmail.com>.
Hello,

Thanks James. The project builds successfully now.

On Mon, Oct 21, 2019 at 11:49 PM James Bognar <ja...@apache.org>
wrote:

> The problem is likely that your Maven configuration is not set up to
> look for Apache snapshots.  I've change the prereq version of Juneau
> from 8.1.2-SNAPSHOT to 8.1.1.  Can you try again?
>
> On Mon, Oct 21, 2019 at 4:49 PM James Bognar <ja...@apache.org>
> wrote:
> >
> > Looking...
> >
> > On Mon, Oct 21, 2019 at 4:43 PM Ekosso Sandrine <ee...@gmail.com>
> wrote:
> > >
> > > Hello,
> > >
> > > I just freshly cloned the PetStore application from Github but I had
> the following issues when I tried to run the project with Maven 'mvn clean
> package'.
> > >
> > > https://pastebin.com/P5C6myy3
> > >
> > > Someone should please look into this issue and possibly point out to
> me what am doing wrong.
> > >
> > > Regards.
>

Re: Problems Running Juneau PetStore Application

Posted by James Bognar <ja...@apache.org>.
The problem is likely that your Maven configuration is not set up to
look for Apache snapshots.  I've change the prereq version of Juneau
from 8.1.2-SNAPSHOT to 8.1.1.  Can you try again?

On Mon, Oct 21, 2019 at 4:49 PM James Bognar <ja...@apache.org> wrote:
>
> Looking...
>
> On Mon, Oct 21, 2019 at 4:43 PM Ekosso Sandrine <ee...@gmail.com> wrote:
> >
> > Hello,
> >
> > I just freshly cloned the PetStore application from Github but I had the following issues when I tried to run the project with Maven 'mvn clean package'.
> >
> > https://pastebin.com/P5C6myy3
> >
> > Someone should please look into this issue and possibly point out to me what am doing wrong.
> >
> > Regards.

Re: Problems Running Juneau PetStore Application

Posted by James Bognar <ja...@apache.org>.
Looking...

On Mon, Oct 21, 2019 at 4:43 PM Ekosso Sandrine <ee...@gmail.com> wrote:
>
> Hello,
>
> I just freshly cloned the PetStore application from Github but I had the following issues when I tried to run the project with Maven 'mvn clean package'.
>
> https://pastebin.com/P5C6myy3
>
> Someone should please look into this issue and possibly point out to me what am doing wrong.
>
> Regards.