Link to home
Start Free TrialLog in
Avatar of muthiahmerchant
muthiahmerchant

asked on

Premature end of file. while runing app in netbeans.

When I run my app in netbeans I get this error. any one know why this is happening.

Also i edited the server.xml to add datasource info. but when the server starts it deletes all the datasource info from the server.xml.

[Fatal Error] :-1:-1: Premature end of file.
C:\Documents and Settings\mradha\Grayline\nbproject\build-impl.xml:458: Deployment error:
DOM graph creation failed: org.netbeans.modules.schema2beans.Schema2BeansRuntimeException: Failed to create the XML-DOM Document.  Check your XML to make sure it is correct.
Premature end of file.

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of Siva Prasanna Kumar
Siva Prasanna Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of muthiahmerchant
muthiahmerchant

ASKER

I copied the text to a html page but I didn't get an error but just some content.

also clean and build did not work.

I spent quite some time debugging. So i am going to uninstall netbeans and try installing the 5.5 version. hope that helps
>> just some content???

was it displaying the XML Completely??? or half the way and then a error????
>> try installing the 5.5 version

You mean Netbeans 5.0 (with Tomcat 5.5 bundle)?
I didn't get any error as such. I installed netbeans 5.5 and didn't face that problem any more. I guess I must have deleted some thing in the xml file.

Thanks for your help folks