For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 4 voices, and was last updated 12 years, 5 months ago by
support-tony.
-
AuthorPosts
-
Michael StaceyParticipantMyeclipse->Project Facets included Dynamic Web Module 2.4
Clicking on Myeclipse->Project Facets->Web gives error; “The currently displayed page contains invalid values”web project will not deploy
May 21, 2013 at 2:56 am #339262
support-swapnaModeratorstacey11,
Sorry that you are seeing this issue.
Did you try creating a java project from an existing Ant Build file?
Can you please elaborate on what exact steps you have taken to help us replicate the issue at our end ?Also if possible, please attach the project which exhibits the issue for us to take a look.
May 21, 2013 at 6:20 am #339271
Michael StaceyParticipant@support-swapna wrote:
stacey11,
Sorry that you are seeing this issue.
Did you try creating a java project from an existing Ant Build file?
Can you please elaborate on what exact steps you have taken to help us replicate the issue at our end ?Also if possible, please attach the project which exhibits the issue for us to take a look.
No, I did not try creating a java project from an existing Ant build file; this project has run fine until “upgrading” to me 2013.
I can attach the .project file, but the project itself is too large.
This is really frustrating as I was advised to upgrade to 2013 to correct problems…
.project:
<?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>crlsql</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.wst.common.project.facet.core.builder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.cenqua.clover.core.prejavabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.cenqua.clover.core.postjavabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.ibm.etools.validation.validationbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.ibm.sse.model.structuredbuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature> <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature>com.cenqua.clover.core.clovernature</nature> <nature>org.eclipse.wst.common.project.facet.core.nature</nature> </natures> </projectDescription>.mymetadata
<?xml version="1.0" encoding="UTF-8"?> <project-module type="WEB" name="crlsql" id="myeclipse.1247764859761" context-root="/crlsql" j2ee-spec="1.4" archive="crlsql.war"> <attributes> <attribute name="webrootdir" value="web" /> </attributes> </project-module>May 21, 2013 at 6:25 am #339273
Michael StaceyParticipant@support-swapna wrote:
stacey11,
Sorry that you are seeing this issue.
Did you try creating a java project from an existing Ant Build file?
Can you please elaborate on what exact steps you have taken to help us replicate the issue at our end ?Also if possible, please attach the project which exhibits the issue for us to take a look.
More information. When I delete the project and try and recreate it, ME reports that it needs to be migrated, but when I attempt to migrate it, I get the following error:
Migration of ,,, has encountered a problem
Operation “Migrate ME Project references and deployment settings to Deployment Assembly” has failed to perform migration actions. Error for project crlsql.
java.lang.NullPointerExceptionMay 21, 2013 at 6:33 am #339275
support-piotrParticipantstacey11,
To correctly determine source of the issue I need more details, as this is definitely an issue specific to your project configuration. Could you please open Error Log view, delete all entries, then reproduce all of your errors (especially the migration issue), export log and attach it here? Please attach screenshots of the preference pages, which are validated with errors, as well. It would be great if you could zip all configuratin files of the project, i.e. “.project”, “.classpath”, “.mymetadata” and “.settings” folder, and attach them here.
What was your original issue?
May 21, 2013 at 8:08 am #339280
Michael StaceyParticipantThe original issue is ME2013 cannot migrate/open/deploy an existing project handled by the previous version.
I’ve created a compressed tar file containing the information and screenshots, but your webapp won’t allow it to be attached.
What extensions are allowed?
Attachments:
You must be logged in to view attached files.May 22, 2013 at 4:21 am #339315
support-piotrParticipantstacey11,
Thanks for all the information! For some reason, your project is missing Module Core nature and two builders, which should get installed along with Web facet. After importing project into ME, before migrating it, please edit “.project” file and add:
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>To enable validation of JSP source files, you should also add:
<buildCommand> <name>org.eclipse.wst.validation.validationbuilder</name> <arguments> </arguments> </buildCommand>To enable validation of JS files add:
<buildCommand> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> <arguments> </arguments> </buildCommand>Let us know how it works for you!
May 22, 2013 at 6:25 am #339320
Michael StaceyParticipantThat cured it. Any idea why?
May 22, 2013 at 6:49 am #339322
support-piotrParticipantGreat to hear that!
This information was supposed to be there. I have no idea why it was missing; maybe someone has made some changes to .project file, or something else went wrong in the past. I am going to add additional migration operation to ensure that nothing like that happens again.
Let us know if you need any more help 🙂
July 3, 2013 at 12:26 am #340523
support-tonyKeymasterProject migration has been fixed, as per the above post. The fix is in SR1, which is now available via the downloads page or the in-product update. Update sites should be available later this week.
-
AuthorPosts
