cancel
Showing results for 
Search instead for 
Did you mean: 

Workspace problem : project has no Java Nature.

vmadhuvarshi_
Contributor
0 Kudos

Hi,

I'm having this problem since I tried to deploy and run an ESS application for testing. here are the details of problem.

An internal error has occured. See error log for more details.

Plugin name: Metamodel Core

Plugin ID: com.sap.ide.metamodel.core

Class: com.sap.ide.metamodel.core.plugin.MetamodelManager

Method: getJavaProjectClassPaths

Message: project has no Java Nature. projectName = GDI_XSS11dev_Dessgbaddrsap.com

Exception: org.eclipse.core.internal.resources.ResourceException: Missing project nature class for org.eclipse.jdt.core.javanature.

Same problem is being reported for every DC in NWDS Web Dynpro perspective and perspective is not loading correctly. I changed the workspace and perspective came back fine - with no DCs of course.

I'm using NWDS 7.0.20 and j2re1.4.2_14.

Could you help me solve this problem?

Regards,

Vishwas.

Accepted Solutions (0)

Answers (3)

Answers (3)

vmadhuvarshi_
Contributor
0 Kudos

Jan and Tushar,

Thanks for your feedback.

The workspace is indeed corrupted but NWDS is fine - I found this out by replacing the workspace to a new one. Since NWDS is fine, is there really a need to do a re-installation?

I'm trying to find a way to either repair the original workspace as I've all my modified DCs there or to find a way to move all those modified DCs to the new Workspace.

Any ideas?

Thanks,

Vishwas.

Former Member
0 Kudos

Hello Vishwas,

No re-installation needed actually. Since the corrupted files are basically the meta files of the workspaces at .dtc (best to back that up though). If you're using NWDI, the track should appear there alongside LocalDevelopment and 0. If its a critical project, I would recommend perhaps raising an OSS note on how to fix this NWDS bug.

I can think of ways to perhaps 'refresh' the local file DCs -- but I'm not totally sure if its safe or it could have consistency issues with the activities logged on your DTR.

Goodluck!

Regards,

Jan

Former Member
0 Kudos

Hi Vishwas,

I would recommend you to re-install the NWDS with correct plugins or at least replace the plugins with the correct ones and then restart NWDS. Create a new wrokspace and let the studio point to it. Now try re-importing all the projects into this workspace.

Regards,

Tushar Sinha

Former Member
0 Kudos

Perhaps the workspace files got corrupted? It mentions: getJavaProjectClassPaths

Try creating and pointing to a new workspace (at times I backup the workspace and delete it totally) then reload NWDS. It should re-initialize the workspace and so as the metadata files for the project I believe. Then rebuild and repair or recreate the workspace.

Hope this helps.

Regards,

Jan