Results 1 to 3 of 3
- 01-18-2013, 11:37 PM #1
Member
- Join Date
- Jan 2013
- Posts
- 2
- Rep Power
- 0
Compile errors when adding a project to netbeans (help!)
Hi, guy
I've recently taken over a Java project from another developer. I've adding the project into netbeans using all the existing files but I'm getting a number of compile errors, which are preventing me from building the project. I know there is nothing wrong with the files.
So I was just wondering if there were any common setting I may have missed when adding the project to prevent it from compiling or if anyone has any suggestions on where to look?
Thanks guys.
(not sure if you've guessed but i'm new to this.)
- 01-19-2013, 12:05 AM #2
Re: Compile errors when adding a project to netbeans (help!)
You should post the errors that you get here. :)
Have you imported all of the libraries and stuff?
- 01-19-2013, 02:22 PM #3
Member
- Join Date
- Jan 2013
- Posts
- 2
- Rep Power
- 0
Re: Compile errors when adding a project to netbeans (help!)
So the error I get when I run the project is
java.lang.VerifyError: Constructor must call super() or this() before return in method EvapSim.<init>()V at offset 0
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.ja va:2442)
at java.lang.Class.getMethod0(Class.java:2685)
at java.lang.Class.getMethod(Class.java:1620)
at sun.launcher.LauncherHelper.getMainMethod(Launcher Helper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(Launc herHelper.java:486)
Exception in thread "main" Java Result: 1
So my files need to be recompiled right? Ive got 10 files that wont compile. Some of them are older versions of the same file. When I try and compile the pages I get
"class, interface or enum expected"
I've no idea why they wont compile
I've no imported any library because I have no documentation telling me if I need any.
Similar Threads
-
[NetBeans 7.1.1. + Android]Project Resources Compile Problem
By KernelPanic in forum AndroidReplies: 0Last Post: 04-06-2012, 03:46 AM -
Netbeans IDE Errors while compiling a JSP project
By pala in forum JavaServer Pages (JSP) and JSTLReplies: 5Last Post: 12-29-2011, 08:35 AM -
help with compile errors
By bzupnick in forum New To JavaReplies: 1Last Post: 02-15-2011, 09:14 PM -
First Java Program-Compile Errors (errors are posted)-simple GUI
By cc11rocks in forum AWT / SwingReplies: 4Last Post: 01-04-2011, 01:36 AM -
compile errors (how do I fix)
By rhythmiccycle in forum New To JavaReplies: 4Last Post: 01-03-2011, 11:33 PM
Bookmarks