Unable to find type 'java.lang.Object'

1,692 views
Skip to first unread message

dmo...@gmail.com

unread,
Oct 31, 2006, 1:13:39 PM10/31/06
to Google Web Toolkit
Hi, I just installed RC1.2 and now get the following error, running an
application which runs fine under 1.1:

Analysing source in module xxx
Unable to find type 'java.lang.Object'

note: my module inherits the User module (as I said above, it works
fine with 1.1)

Dave

Dan

unread,
Oct 31, 2006, 3:31:23 PM10/31/06
to Google Web Toolkit
I'm having the same problem with the examples included with RC1.2. I am
using it on Windows XP with Java 5.0 release 9.

Javid

unread,
Oct 31, 2006, 3:37:48 PM10/31/06
to Google Web Toolkit
I am having the same problem. Trying to figure out what went wrong?

Javid

mort...@gmail.com

unread,
Oct 31, 2006, 7:03:47 PM10/31/06
to Google Web Toolkit
I have this problem as well on a working 1.1 project, although it is
complaining not being able to find my entrypoint class. Using 1.1 it
works fine.

mort...@gmail.com

unread,
Oct 31, 2006, 11:32:28 PM10/31/06
to Google Web Toolkit
I seem to have fixed mine by removing a space from the path to my
source. Maybe it has problems with spaces in classpaths or sourcepaths?

stryderjzw

unread,
Oct 31, 2006, 11:54:59 PM10/31/06
to Google Web Toolkit
"Path to my source"... Can you be a little more specific?

Much appreciated,
Justin

David Moshal

unread,
Nov 1, 2006, 1:14:41 AM11/1/06
to Google-We...@googlegroups.com
I think I'm going to fix the problem entirely by moving to Ruby on Rails
 - anyone tried this yet?
Dave

jpbischo

unread,
Nov 1, 2006, 11:02:51 AM11/1/06
to Google Web Toolkit
move the gwt folder ( gwt-windows-1.2.11 in my case ) to a directory so
that there are no spaces in path.


Good:
C:\ajax\gwt-windows-1.2.11\samples\KitchenSink

Bad:
C:\Documents and
Settings\admin\Desktop\ajax\gwt-windows-1.2.11\samples\KitchenSink

That allowed me to compile the Kitchen sink sample.

Cameron Taggart

unread,
Nov 2, 2006, 5:42:07 PM11/2/06
to Google Web Toolkit
Yes, this looks like a bug. When running
com.google.gwt.dev.GWTCompiler from Eclipse I get that error because
the jar directory has spaces in it.

<classpathentry kind="var"
path="M2_REPO/com/google/gwt/gwt-user/1.2.11/gwt-user-1.2.11.jar"/>
<classpathentry kind="var"
path="M2_REPO/com/google/gwt/gwt-dev-windows/1.2.11/gwt-dev-windows-1.2.11.jar"/>

As a work-a-round I just use some local references (instead of moving
my local Maven repository.

<classpathentry kind="lib"
path="D:/java/gwt-windows-1.2.11/gwt-user.jar"/>
<classpathentry kind="lib"
path="D:/java/gwt-windows-1.2.11/gwt-dev-windows.jar"/>

cheers,
Cameron

David Moshal

unread,
Nov 5, 2006, 4:20:01 AM11/5/06
to Google-We...@googlegroups.com
thanks - worked for me!!
dave

On 11/1/06, jpbischo <bisc...@gmail.com> wrote:

move the gwt folder ( gwt-windows-1.2.11 in my case ) to a directory so
that there are no spaces in path.


Good:
C:\ajax\gwt-windows-1.2.11\samples\KitchenSink

Bad:
C:\Documents and
Settings\admin\Desktop\ajax\gwt- windows-1.2.11\samples\KitchenSink
Reply all
Reply to author
Forward
0 new messages