how do I see compiler errors?? [message #831967] |
Thu, 29 March 2012 15:28 |
Eclipse User |
|
|
|
I keep getting "Error: Could not find or load main class ..." error.
Finally wondering if the issue is some kind of compilation error that I'm not seeing. For the heck of it, I created a couple different errors that should have given me some kind of error msg upon compilation, but I don't see any! I tried creating an object that isn't defined, and I intentionally put a space in my println:
Syst em.out.println("Page title is: ");
This should create some kind of error somewhere, yes??
Where would I see it? I did have Build Automatically checked, tried unchecking, doing a clean, and it says that it will build after the clean, but I still see no error?? How do I get the errors to show?
Thanks
Glenn
|
|
|
|
Re: how do I see compiler errors?? [message #831988 is a reply to message #831983] |
Thu, 29 March 2012 15:58 |
Eclipse User |
|
|
|
I'm pretty sure that I created a java project.. is there any way that I can verify?
Also, the Problems view is one of the bottom panes? (Along with Javadoc / declaration/ search and console?) If so, there is nothing listed: "0 items"
|
|
|
Re: how do I see compiler errors?? [message #832037 is a reply to message #831988] |
Thu, 29 March 2012 17:29 |
Eclipse User |
|
|
|
OK, won't let me do links cause I'm under 25 msgs.. so I'll be editing them out..
I found the "Validate" option under the project, clicked it, and got the following in the Problem view:
Description Resource Path Location Type
cvc-complex-type.2.4.a: Invalid content was found starting with element 'pluginManagement'. One of ...:distributionManagement, "... maven.apache.org/POM/4.0.0":properties}' is expected. pom.xml /MySel20Proj line 16 XML Problem
------------
Would you know if this means that I need a new build of maven?
Eclipse opened the pom file for me to highlight the error (and possibly correct it I guess .. red "X" next to "pluginManagement"), but I wouldn't know what to update.
Thanks for looking at this
Glenn
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04544 seconds