Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Netbeans Problem: Cannot create new project. Could not find a safe DOM serializer



Hello

IF JDK 6.0 is designed for OSX 10.4 you should not use it with your sistem

Anyway, in my MAC OS JDK 6.0 sucks with netbeans 5.5 I came back to 5.0 until Apple release a better version for POWERPC

I dont understand why do you need the library "servlets" for writing one applet. This is the library for web servers, not for applets

If you are not able to set netbeans, you have more options

1) Xcode. It comes with mac osX and you can use it for developing in java
2) JDeveloper. The Oracle java tools
3) Eclipse. The leader now.

If you can keep havin problems with max os you can mail me

Bruno







Pixaden Java wrote:
I'm new to Java and would like some help to get started.

When I try to create a new project in NetBeans I get the following error: "java.io.IOException: Could not find a safe DOM serializer: java.lang.NoSuchMethodException: org.apache.xml.serialize.XMLSerializer.setNamespaces(boolean)".

The project directory is created but is empty.

I get this error in Net Beans 4.1 and 5.0. I am running OS X 10.3.9 on a G4 iBook with Java 1.4.2.

I am following the tutorial at: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/netbeans.html

At first I tried to run NetBeans 5.5 (for OS X 10.4) and may have also downloaded and "installed" Java SE 6.0 Release 1 Developer Preview 6 (also for OS X 10.4) (!).

Notes (may not be of consequence):
1) I have added javax.jar under /Library/Java/Extensions so I can write applets (requires javax.servlet).
2a) JavaBrowser (found under under /Developer/Applications/) does not show javax.servlet
2b) JavaBrowser does not "serialize.XMLSerializer" under "org.apache.xml".
2c) JavaBrowser does not show "serialize.XMLSerializer" under "org.apache.xml". Nearest match is SerializableLocatorImpl under "org.apache.xml.utils"
2d) JavaBrowser shows classpaths to files that do not seem to exist, e.g. /System/Library/FrameWorks/JavaDirectToWeb.framework


My basic objective at the is to rewrite some JavaScript into a Java applet. So far I have been able to compile basic applets in Terminal but need more Java knowledge to achieve my goal.

Skill level: No experience under OS X. New to Java and Netbeans. Proficient in PHP. Learnt OOP using Scheme in the 1990s. Also learnt Fortran & Turbo Pascal.

Any help would be greatly appreciated.








_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Netbeans Problem: Cannot create new project. Could not find a safe DOM serializer (From: Pixaden Java <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.