NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

class file gets deleted

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Anthony.Green
Posted via mailing list.





PostPosted: Sun Feb 28, 2010 6:11 pm    Post subject: class file gets deleted Reply with quote

Hi, I'm having a strange error with Netbeans that I can't seem to figure
out. The code I'm writing is quite repetitive so I have a small program in
Netbeans which "writes" java code (prints it out to a text file) which I
then paste back into Netbeans for use as part of a large program. I've had
no problems with this approach until today, when I pasted the code back
into Netbeans and got the NoClassDefFoundError when attempting to run. An
internet search maintains that it is a problem with compiler setup or the
.class file cannot be found-and its the latter that's causing it, because
the .class file (from the build\classes directory) vanishes (i.e. gets
deleted) once I have pasted the code into a particular class I'm using.
The code is 7000 lines long, could it be that the class is too long?

Thanks for any help you can provide,

Anthony Green
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo