Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Mac OS X won't build project

Hi,

FYI: The news groups is really the place to ask this kind of question.

In OSX for some reason the 'default jvm' is not being set properly in WTP projects. To make it work simple choose the 1.4.2 vm instead of the 'default'.

1) Select project->properties
2) Select 'java build path'
3) Select the JVM library
4) edit the library and specify the manual option and set it to 1.4.2

This worked for me but your milage might vary.

TTFN,

-bd-

On Aug 4, 2004, at 11:26 PM, egabriel@xxxxxx wrote:

I have a project (created under Eclipse 3.0 and Web Tools on Linux) which references a Tomcat server via the Server feature of Web Tools. It works properly under Linux, but doesn't work on Mac OS X Panther. It displays
two problems under Problems:


The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building
this project	myproject			August 4, 2004 11:52:49 PM

The type java.lang.Object cannot be resolved. It is indirectly referenced
from required .class
files MyClass.java JavaSource.org.myproject.MyClass.java line 1 August 4,
2004 11:52:49 PM

I have downloaded the latest Java updates from ADC. I believe that this
results in a configuration where Eclipse is invoked via a complete SDK,
rather than just a JRE, but I am new to the platform and am not certain.

I was incidentally able to start the app via Run On Server, and it worked until a .jsp needed to be compiled, but it failed as the resulting servlet
was never generated.

Are there known problems with MacOS X and the Web Tools, and if not, is
there documentation for setting up one's environment in such a way that it
works as it does on Windows and Linux?

Note that other projects that have no "knowledge" of Web Tools, i.e. were not configured as type "Dynamic Web App" or using features such as Server,
build fine.
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/wtp-dev




Back to the top