|
|
|
|
|
|
Re: WTP JSF now with Sun RI [message #471478 is a reply to message #471471] |
Fri, 10 February 2006 19:01 |
|
Chris Gage wrote:
> This looks like an incompatibility between POJO classes compiled by the
> Eclipse WTP 1.0 built-in compiler (Version: 3.1.1 Build id: M20050929-0840)
> and JSP classes compiled at run time on Tomcat 5.0.30 by the java SDK I have
> installed (Sun 1.4.2_10-b03).
>
> Is this possible? likely?
Yes. The version number in the class file indicates that you've
compiled it in a way that produces .class files for Java5. If the
bean's .class was compiled by Eclipse itself, check your Java
Compiler JDK Compliance preferences and make sure you limit yourself
to 1.4 or lower.
--
- Nitin
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
|
Re: WTP JSF now with Sun RI [message #471484 is a reply to message #471483] |
Mon, 13 February 2006 16:57 |
Eclipse User |
|
|
|
Originally posted by: wukunlun+news.gmail.com
using:
http://www.paulsadowski.com/WSH/cmdprogs.htm
-or-
http://unxutils.sourceforge.net/
-or-
http://www.cgywin.com/
-or-
http://www.mingw.org/
"which.exe java.exe"
also look in the c:\windows or c:\windows\system32 for a java.exe file.
some jdk's like to put a copy of the java executable there to make sure that
it's in your path.
lastly, uninstall all jdk's using window's add/remove utility and then see
if you can still run a "java.exe" from the command prompt.
if so, a "java.exe -version" might be insightful.
and last, but not least, check your %PATH% for any other dangling jdk's left
in your system.
lastly, you might want to test your jsf outside of eclipse and make sure
that it works as you're currently not testing the tools but rather your
environment setup and perhaps make it work first before trying the tools.
"Chris Gage" <a@b.com> wrote in message
news:dsq3ps$rd3$1@utils.eclipse.org...
>I went right back to the beginning and extracted WTP 1.0 and the JSF plugin
>again, created the library with the SUN RI, and created the Faces JSP and
>the faces-config.xml and the bean again from scratch, by cutting and
>pasting from NotePad, ie trying to avoid copying any existing Eclipse
>metdata. The only thing I left untouched was Sun SDK 1.4.2.10.
>
> Same result.
>
> My Java compliance is set to 1.4 in Eclipse. Can anyone explain why the
> arcane and cryptic "major-minor" and 49.0 concepts are surfaced here?
> What on earth do they mean? Is there a simple translation? What is the
> major minor version supposed to be in order to work correctly?
>
|
|
|
|
|
|
|
|
|
|
|
Re: WTP JSF now with Sun RI [message #589431 is a reply to message #471471] |
Fri, 10 February 2006 19:01 |
|
Chris Gage wrote:
> This looks like an incompatibility between POJO classes compiled by the
> Eclipse WTP 1.0 built-in compiler (Version: 3.1.1 Build id: M20050929-0840)
> and JSP classes compiled at run time on Tomcat 5.0.30 by the java SDK I have
> installed (Sun 1.4.2_10-b03).
>
> Is this possible? likely?
Yes. The version number in the class file indicates that you've
compiled it in a way that produces .class files for Java5. If the
bean's .class was compiled by Eclipse itself, check your Java
Compiler JDK Compliance preferences and make sure you limit yourself
to 1.4 or lower.
--
- Nitin
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
|
Re: WTP JSF now with Sun RI [message #589482 is a reply to message #471483] |
Mon, 13 February 2006 16:57 |
Eclipse User |
|
|
|
Originally posted by: wukunlun+news.gmail.com
using:
http://www.paulsadowski.com/WSH/cmdprogs.htm
-or-
http://unxutils.sourceforge.net/
-or-
http://www.cgywin.com/
-or-
http://www.mingw.org/
"which.exe java.exe"
also look in the c:\windows or c:\windows\system32 for a java.exe file.
some jdk's like to put a copy of the java executable there to make sure that
it's in your path.
lastly, uninstall all jdk's using window's add/remove utility and then see
if you can still run a "java.exe" from the command prompt.
if so, a "java.exe -version" might be insightful.
and last, but not least, check your %PATH% for any other dangling jdk's left
in your system.
lastly, you might want to test your jsf outside of eclipse and make sure
that it works as you're currently not testing the tools but rather your
environment setup and perhaps make it work first before trying the tools.
"Chris Gage" <a@b.com> wrote in message
news:dsq3ps$rd3$1@utils.eclipse.org...
>I went right back to the beginning and extracted WTP 1.0 and the JSF plugin
>again, created the library with the SUN RI, and created the Faces JSP and
>the faces-config.xml and the bean again from scratch, by cutting and
>pasting from NotePad, ie trying to avoid copying any existing Eclipse
>metdata. The only thing I left untouched was Sun SDK 1.4.2.10.
>
> Same result.
>
> My Java compliance is set to 1.4 in Eclipse. Can anyone explain why the
> arcane and cryptic "major-minor" and 49.0 concepts are surfaced here?
> What on earth do they mean? Is there a simple translation? What is the
> major minor version supposed to be in order to work correctly?
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07309 seconds