You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Filip Hanik - Dev Lists <de...@hanik.com> on 2010/03/26 17:58:34 UTC

Tomcat 5.5 does not compile

Somehow 1.5 classes got inserted. 5.5 is compiled using JDK 1.4

build-catalina-core:
     [javac] Compiling 319 source files to 
C:\development\tomcat\tc5build\tc5.5.x\trunk\build\build\classes
     [javac] 
C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\loader\WebappC
lassLoader.java:2150: cannot resolve symbol
     [javac] symbol  : constructor IllegalArgumentException 
(java.lang.String,java.io.IOException)
     [javac] location: class java.lang.IllegalArgumentException
     [javac]                                             throw new 
IllegalArgumentException(
     [javac]                                                   ^
     [javac] 
C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\startup\HostCo
nfig.java:750: cannot resolve symbol
     [javac] symbol  : class StringBuilder
     [javac] location: class org.apache.catalina.startup.HostConfig
     [javac]         StringBuilder docBase;
     [javac]         ^
     [javac] 
C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\startup\HostCo
nfig.java:755: cannot resolve symbol
     [javac] symbol  : class StringBuilder
     [javac] location: class org.apache.catalina.startup.HostConfig
     [javac]             docBase = new StringBuilder(canonicalAppBase);
     [javac]                           ^
     [javac] Note: Some input files use or override a deprecated API.
     [javac] Note: Recompile with -deprecation for details.
     [javac] 3 errors

BUILD FAILED

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: Tomcat 5.5 does not compile

Posted by Mark Thomas <ma...@apache.org>.
On 26/03/2010 17:10, Mark Thomas wrote:
> On 26/03/2010 17:05, Mark Thomas wrote:
>> On 26/03/2010 16:58, Filip Hanik - Dev Lists wrote:
>>> Somehow 1.5 classes got inserted. 5.5 is compiled using JDK 1.4
>>
>> The first one was me. I'll fix that now.
> 
> Done.
> 
> The others look like me too. Fixing them now...

Done. Sorry for the hassle.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: Tomcat 5.5 does not compile

Posted by Mark Thomas <ma...@apache.org>.
On 26/03/2010 17:05, Mark Thomas wrote:
> On 26/03/2010 16:58, Filip Hanik - Dev Lists wrote:
>> Somehow 1.5 classes got inserted. 5.5 is compiled using JDK 1.4
> 
> The first one was me. I'll fix that now.

Done.

The others look like me too. Fixing them now...

Mark

>> build-catalina-core:
>>     [javac] Compiling 319 source files to
>> C:\development\tomcat\tc5build\tc5.5.x\trunk\build\build\classes
>>     [javac]
>> C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\loader\WebappC
>>
>> lassLoader.java:2150: cannot resolve symbol
>>     [javac] symbol  : constructor IllegalArgumentException
>> (java.lang.String,java.io.IOException)
>>     [javac] location: class java.lang.IllegalArgumentException
>>     [javac]                                             throw new
>> IllegalArgumentException(
>>     [javac]                                                   ^
>>     [javac]
>> C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\startup\HostCo
>>
>> nfig.java:750: cannot resolve symbol
>>     [javac] symbol  : class StringBuilder
>>     [javac] location: class org.apache.catalina.startup.HostConfig
>>     [javac]         StringBuilder docBase;
>>     [javac]         ^
>>     [javac]
>> C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\startup\HostCo
>>
>> nfig.java:755: cannot resolve symbol
>>     [javac] symbol  : class StringBuilder
>>     [javac] location: class org.apache.catalina.startup.HostConfig
>>     [javac]             docBase = new StringBuilder(canonicalAppBase);
>>     [javac]                           ^
>>     [javac] Note: Some input files use or override a deprecated API.
>>     [javac] Note: Recompile with -deprecation for details.
>>     [javac] 3 errors
>>
>> BUILD FAILED
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: Tomcat 5.5 does not compile

Posted by Mark Thomas <ma...@apache.org>.
On 26/03/2010 16:58, Filip Hanik - Dev Lists wrote:
> Somehow 1.5 classes got inserted. 5.5 is compiled using JDK 1.4

The first one was me. I'll fix that now.

Mark

> 
> build-catalina-core:
>     [javac] Compiling 319 source files to
> C:\development\tomcat\tc5build\tc5.5.x\trunk\build\build\classes
>     [javac]
> C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\loader\WebappC
> 
> lassLoader.java:2150: cannot resolve symbol
>     [javac] symbol  : constructor IllegalArgumentException
> (java.lang.String,java.io.IOException)
>     [javac] location: class java.lang.IllegalArgumentException
>     [javac]                                             throw new
> IllegalArgumentException(
>     [javac]                                                   ^
>     [javac]
> C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\startup\HostCo
> 
> nfig.java:750: cannot resolve symbol
>     [javac] symbol  : class StringBuilder
>     [javac] location: class org.apache.catalina.startup.HostConfig
>     [javac]         StringBuilder docBase;
>     [javac]         ^
>     [javac]
> C:\development\tomcat\tc5build\tc5.5.x\trunk\container\catalina\src\share\org\apache\catalina\startup\HostCo
> 
> nfig.java:755: cannot resolve symbol
>     [javac] symbol  : class StringBuilder
>     [javac] location: class org.apache.catalina.startup.HostConfig
>     [javac]             docBase = new StringBuilder(canonicalAppBase);
>     [javac]                           ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 3 errors
> 
> BUILD FAILED
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org