You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Major Péter <ma...@sch.bme.hu> on 2009/12/30 13:14:48 UTC
TeamCity and cannot find symbol
Hi all,
I had just commited the javaee-inject project to Wicket Stuff, and have
some problems with TeamCity. I tried to build the 'Core Projects'
project, but keep getting cannot find symbols errors (with enforced
clean checkout too)...
The thing is, that the project is depending on geronimo-ejb_3.0_spec,
which depends on geronimo-annotation_1.0_spec, but somehow TC/maven
doesn't recognizes this, and give me 'cannot find symbol' messages
related to the annotation jar classes.
I just had a fresh mvn clean install with an empty local maven
repository on a different machine and it builded there too. I'm
suspecting that the source of the problem is maybe in the bamboo
profile, but can't see what..
Could someone help me, to make the build right again?
Thanks
Regards,
Peter
Re: TeamCity and cannot find symbol
Posted by Igor Vaynberg <ig...@gmail.com>.
2009/12/30 Major Péter <ma...@sch.bme.hu>:
> After that, I got error for @Override annotation, because I used it on
> an interface derived function:
> 'method does not override a method from its superclass'
> hmm, what the hell??
TC is configured to build with java5, not 6.
-igor
> But after all the Core projects build is back to normal.
>
> p.s.: Now I have one more reason to use Hudson for continuus build mgmt...
>
> Regards,
> Peter
>
> 2009-12-30 13:14 keltezéssel, Major Péter írta:
>> Hi all,
>>
>> I had just commited the javaee-inject project to Wicket Stuff, and have
>> some problems with TeamCity. I tried to build the 'Core Projects'
>> project, but keep getting cannot find symbols errors (with enforced
>> clean checkout too)...
>> The thing is, that the project is depending on geronimo-ejb_3.0_spec,
>> which depends on geronimo-annotation_1.0_spec, but somehow TC/maven
>> doesn't recognizes this, and give me 'cannot find symbol' messages
>> related to the annotation jar classes.
>> I just had a fresh mvn clean install with an empty local maven
>> repository on a different machine and it builded there too. I'm
>> suspecting that the source of the problem is maybe in the bamboo
>> profile, but can't see what..
>> Could someone help me, to make the build right again?
>> Thanks
>>
>> Regards,
>> Peter
>
Re: TeamCity and cannot find symbol
Posted by Major Péter <ma...@sch.bme.hu>.
I solved it, I added the annotation too as dependency to the project and
the problem has disappeared, but still I don't understand why was that
neccessary...
After that, I got error for @Override annotation, because I used it on
an interface derived function:
'method does not override a method from its superclass'
hmm, what the hell??
But after all the Core projects build is back to normal.
p.s.: Now I have one more reason to use Hudson for continuus build mgmt...
Regards,
Peter
2009-12-30 13:14 keltezéssel, Major Péter írta:
> Hi all,
>
> I had just commited the javaee-inject project to Wicket Stuff, and have
> some problems with TeamCity. I tried to build the 'Core Projects'
> project, but keep getting cannot find symbols errors (with enforced
> clean checkout too)...
> The thing is, that the project is depending on geronimo-ejb_3.0_spec,
> which depends on geronimo-annotation_1.0_spec, but somehow TC/maven
> doesn't recognizes this, and give me 'cannot find symbol' messages
> related to the annotation jar classes.
> I just had a fresh mvn clean install with an empty local maven
> repository on a different machine and it builded there too. I'm
> suspecting that the source of the problem is maybe in the bamboo
> profile, but can't see what..
> Could someone help me, to make the build right again?
> Thanks
>
> Regards,
> Peter