- This topic has 5 replies, 2 voices, and was last updated 11 years, 2 months ago by support-swapna.
-
AuthorPosts
-
Narahari LakshminarayanaMemberFriends:
MyEclipse Blue 2013 for LInujx 64 bit (chose the WebTools Only feature during install)
Installed to /opt/MyEclipseBlue folder (owned by regular user and not root)
OS installed on Linux MInt Long Term Support.
===================
Checked out the code from svn.
ran mvn clean install -Dmaven.skip.test=true
It runs fine and no errors and .war is produced.
Now delleted the target folder and did
Import Maven Projects and pointed to the folder where pom.xml exists.
As soon as I do that I see.
Errors occurred during the build.
Errors running builder ‘Maven Project Builder’ on project ‘ConfigPortlet’.
java.lang.NullPointerException======================================
So not sure what am I doing wrong, any help please.
-Narahari
support-swapnaModeratorNarahari,
Sorry that you are seeing this issue.
Can you please clear the contents of the .log file which is located at <workspace dir>/.metadata/.log , replicate the issue and copy paste the contents of the .log file here to help us investigate further?
If possible, please send us the full pom.xml and .project, .classpath, .mymetadata, .settings folders of the project to help us replicate the issue at our end.
Narahari LakshminarayanaMemberThank you Swapna for answering my question.
Here is the info you have asked me to put.
The screenshot is http://imgur.com/eFW1ZEv
The contents of the .log file are attached here.
Regarding pom.xml stuff I can email you as attachment but I am unable to upload here due to company rules.
Regards,
-Narahari@support-swapna wrote:
Narahari,
Sorry that you are seeing this issue.
Can you please clear the contents of the .log file which is located at <workspace dir>/.metadata/.log , replicate the issue and copy paste the contents of the .log file here to help us investigate further?
If possible, please send us the full pom.xml and .project, .classpath, .mymetadata, .settings folders of the project to help us replicate the issue at our end.
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorNarahari,
Thank you for the screenshot and the .log file.This might be the case of some missing plugin.
Can you please try to remove and re-add the Maven Support in MyEclipse ?
Go to Help > Choose Components. If Maven Support for MyEclipse is already listed in the Selected box, please double click it to remove. Apply the changes, follow the wizard and restart the IDE when it prompts to.
After the restart, go to Help > Choose Components, Add ‘Maven Support for MyEclipse’, follow the wizard and restart the IDE when it prompts. After restart, switch to a new workspace and try importing the Maven project and see if the issue persists.
If the issue persists, please email the pom.xml and the .project, .classpath, .mymetadata, .settings folders of the project to support@genuitec.com. Please add ATTN: Swapna in the subject and refer to this thread.
Let us know how it works for you.
Narahari LakshminarayanaMemberHello Swapna:
Thank your for that tip. That was it. I did not have the Maven4MyEclipse plugin installed at all.
It is a bug in your install options. When I executed the .run file upon download, I selected WebTools project and not the ALL.
This caused the Maven4MyEclipse plugin to not get installed. It was the issue.
Once I followed your instructions, it progressed and I am now able to import the project with the pom.xml file.
Once again a Big Thank You.
(Not sure how to mark the Thread as SOLVED, please do that so folks know about this)
Please ask the online installer (not off line) folks to take care of this bug and prompt users with additional questions if needed.
-Narahari
support-swapnaModeratorNarahari,
Glad that it is working.
I have raised a PR for the dev team to look into the issue with Maven4MyEclipse support as part of WebTools.Sorry for inconvenience caused. Do let us know if you see any issues.
-
AuthorPosts