tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Slominski <bernhard.slomin...@zooplus.com>
Subject AW: error while building with jakarta-ant-1.5.1
Date Fri, 01 Jul 2005 11:05:50 GMT

> 
> Hi Tim,
> 
> Iam sure that Iam using the right tools.jar, and it is containing the
> class com.sun.tools.javah.Main
> 

I also think so, because that's what the errormessage says, it cannot find
the requested constructor.
I check my tools.jar (JDK 1.5.0_01) and I found this method signature, which
is obviously not there in your tools.jar.

package com.sun.tools.javah;
public class Main {
    public Main() { /* compiled code */ }

    public static void main(String[] strings) { /* compiled code */ }
}

Check yours and see if you have the same signature, if not you should update
or replace it.

Bernhard

> >>build: 
> /Tomcat/jakarta-ant-1.5.1/src/main/org/apache/tools/ant/taskde
> >>fs/optiona
> >>l/Javah.java:349: cannot resolve symbol
> >>symbol  : constructor Main (java.lang.String[])
> >>location: class com.sun.tools.javah.Main
> >>                = new com.sun.tools.javah.Main(cmd.getArguments());
> >>                  ^
> 

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


Mime
View raw message