Type java.lang.String Error preverifying class java.lang.String [message #22699] |
Sun, 16 November 2008 07:11  |
Eclipse User |
|
|
|
Dear all,
I am still trying to get a web service client running.
I am trying to do it through the use of the Rational Software development
tool, which is based on Eclipse, I installed Sun Wireless Toolkit 2.5.2
for CDLC and MTJ 0.9.
When I try to generate client stubs in the midlet project, I get a
libraries error, which I solve adding rt.jar to the build path, but then I
get the following error in the midlet project (not in a specific class,
but in the project):
Type java.lang.String Error preverifying class java.lang.String
I haven't got a clue of the error. Any suggestion about this?
Any help is sincerely appreciated
Guadalupe
|
|
|
Re: Type java.lang.String Error preverifying class java.lang.String [message #22790 is a reply to message #22699] |
Sun, 16 November 2008 14:19  |
Eclipse User |
|
|
|
which tool are you using to generate the stubs? it seems that you are not
using wtk stub generator, since you needed to rt.jar in the build path.
rt.jar includes classes that are not compatible with javame so it shold
not be included in an mtj project.
please try to generate the stubs with wtk stub generator and see if it
solves the problem
thanks,
gustavo
Guadalupe wrote:
> Dear all,
> I am still trying to get a web service client running.
> I am trying to do it through the use of the Rational Software development
> tool, which is based on Eclipse, I installed Sun Wireless Toolkit 2.5.2
> for CDLC and MTJ 0.9.
> When I try to generate client stubs in the midlet project, I get a
> libraries error, which I solve adding rt.jar to the build path, but then I
> get the following error in the midlet project (not in a specific class,
> but in the project):
> Type java.lang.String Error preverifying class java.lang.String
> I haven't got a clue of the error. Any suggestion about this?
> Any help is sincerely appreciated
> Guadalupe
|
|
|
Re: Type java.lang.String Error preverifying class java.lang.String [message #568122 is a reply to message #22699] |
Sun, 16 November 2008 14:19  |
Eclipse User |
|
|
|
which tool are you using to generate the stubs? it seems that you are not
using wtk stub generator, since you needed to rt.jar in the build path.
rt.jar includes classes that are not compatible with javame so it shold
not be included in an mtj project.
please try to generate the stubs with wtk stub generator and see if it
solves the problem
thanks,
gustavo
Guadalupe wrote:
> Dear all,
> I am still trying to get a web service client running.
> I am trying to do it through the use of the Rational Software development
> tool, which is based on Eclipse, I installed Sun Wireless Toolkit 2.5.2
> for CDLC and MTJ 0.9.
> When I try to generate client stubs in the midlet project, I get a
> libraries error, which I solve adding rt.jar to the build path, but then I
> get the following error in the midlet project (not in a specific class,
> but in the project):
> Type java.lang.String Error preverifying class java.lang.String
> I haven't got a clue of the error. Any suggestion about this?
> Any help is sincerely appreciated
> Guadalupe
|
|
|
Powered by
FUDForum. Page generated in 0.05485 seconds