Reference 'global.library.Tomcat.path' not found

Hello,

We have some problem running our project on teamCity. Any help will be appreciated.

We got the following error message while running a build :

Reference 'global.library.Tomcat.path' not found

So We add a new library "Tomcat" in the General settings "Workspace" element by clicking on "Add library". It insert the following lines in the workspace field :

]]>
<include name="*/.jar"/>
</fileset>
</path>

In the buildAgent.properties file, we add the following line :

system.global.library.Tomcat.home=I\:
Apache
apache-tomcat-5.5.15

A new build run give the following compilation error :

xxx\yyy\context\RequestContext.java:372: cannot find symbol
symbol : class HttpServletRequest

I'm a bit disappointed because the class HttpServletRequest is in the jar file under common/lib/servlet-api.jar located under the tomat home directory referenced by system.global.library.Tomcat.home

The project compile well under IDEA 6 and we use the ipr file as runneragent. By the way, in our project will do not use any Global librairies.

Thanks in advance for your help

1 comment
Comment actions Permalink

All your steps were right.
Please check that the path to tomcat is valid.
If it is, please submit bug request, i'll need a little bit more information
about the problem, generated script, for example.
Thanks!

"yvesoe" <no_reply@jetbrains.com> wrote in message
news:15173455.1155289774361.JavaMail.itn@is.intellij.net...

Hello,

>

We have some problem running our project on teamCity. Any help will be
appreciated.

>

We got the following error message while running a build :

>

Reference 'global.library.Tomcat.path' not found

>

So We add a new library "Tomcat" in the General settings "Workspace"
element by clicking on "Add library". It insert the following lines in the
workspace field :

>

<path id="global.library.Tomcat.path">
<fileset dir="%system.global.library.Tomcat.home%">
<include name="*/.jar"/>
</fileset>
</path>

>

In the buildAgent.properties file, we add the following line :

>

system.global.library.Tomcat.home=I\:
Apache
apache-tomcat-5.5.15

>

A new build run give the following compilation error :

>

xxx\yyy\context\RequestContext.java:372: cannot find symbol
symbol : class HttpServletRequest

>

I'm a bit disappointed because the class HttpServletRequest is in the jar
file under common/lib/servlet-api.jar located under the tomat home
directory referenced by system.global.library.Tomcat.home

>

The project compile well under IDEA 6 and we use the ipr file as
runneragent. By the way, in our project will do not use any Global
librairies.

>

Thanks in advance for your help



0

Please sign in to leave a comment.