You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by srinivas <sv...@intensit.de> on 2002/03/24 23:15:58 UTC

error # 302 on compilation

hello,

i get this error when i compile my source file.
What could be the reason? Should i get the source of struts and compile?

Error #: 302 : cannot access class org.apache.struts.taglib.html.ErrorsTag;
no source found; must be compiled, because java.lang.Object.getClass
referenced by class org.apache.struts.taglib.html.ErrorsTag has changed

thanks,
srinivas.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: error # 302 on compilation

Posted by Ben Peter <bp...@zentropypartners.com>.
Hi,

if you get these two working together, let me know ;-) I got so frustrated over 
this that I eventually skipped to neatbeans (which I like much better now).

JBuilder looks at the class spec version of compiled classes, and complains if 
it does not match (which for me results in the message that it wants the 
sources of java.lang.Object to recompile it - obviously you have gotten a step 
further). It is now two months back that I tried to find a solution for that, 
but I haven't.

You should be fine with the compiler as provided by the J2SDK.

Cheers,
Ben

srinivas wrote:
> thanks ben,
> 
> i am using jdk1.4.0 with jbuilder5.
> 
> regards,
> srinivas.
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: error # 302 on compilation

Posted by srinivas <sv...@intensit.de>.
thanks ben,

i am using jdk1.4.0 with jbuilder5.

regards,
srinivas.

-----Original Message-----
From: Ben Peter [mailto:bpeter@zentropypartners.com]
Sent: Monday, March 25, 2002 12:42 PM
To: Struts Users Mailing List
Subject: Re: error # 302 on compilation


Hi,

what compiler are you using? This sounds like a jdk1.4-related issue (I had
these problems with JBuilder5). The class specs have changed from 1.3.1 to
1.4,
and some compilers won't allow to compile against classes that were compiled
to
other versions of the class spec than the current target jdk.

Cheers,
Ben

srinivas wrote:
> hello,
>
> i get this error when i compile my source file.
> What could be the reason? Should i get the source of struts and compile?
>
> Error #: 302 : cannot access class
org.apache.struts.taglib.html.ErrorsTag;
> no source found; must be compiled, because java.lang.Object.getClass
> referenced by class org.apache.struts.taglib.html.ErrorsTag has changed
>
> thanks,
> srinivas.
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>




--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: error # 302 on compilation

Posted by Ben Peter <bp...@zentropypartners.com>.
Hi,

what compiler are you using? This sounds like a jdk1.4-related issue (I had 
these problems with JBuilder5). The class specs have changed from 1.3.1 to 1.4, 
and some compilers won't allow to compile against classes that were compiled to 
other versions of the class spec than the current target jdk.

Cheers,
Ben

srinivas wrote:
> hello,
> 
> i get this error when i compile my source file.
> What could be the reason? Should i get the source of struts and compile?
> 
> Error #: 302 : cannot access class org.apache.struts.taglib.html.ErrorsTag;
> no source found; must be compiled, because java.lang.Object.getClass
> referenced by class org.apache.struts.taglib.html.ErrorsTag has changed
> 
> thanks,
> srinivas.
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>