pepe1
pepe1

Reputation: 235

Removing part descriptor error on exported Eclipse product

I created an Eclipse product that opens a view. When I launch it through the .product file, everything works fine and the view opens but when I export it and launch it through the new .exe file I get this issue on startup:

!ENTRY org.eclipse.e4.ui.workbench 2 0 2019-03-28 15:48:23.160 

!MESSAGE Removing part descriptor with the 'views.myView' id and the 'test myview' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.

Because of this, the view doesn't open on the exported product.I didn't change any of the dependencies so I can't figure out why this appears to be happening.

Upvotes: 3

Views: 1029

Answers (2)

5ubin
5ubin

Reputation: 21

In my case, the "build.properties" was the problem.

source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
               META-INF/,\
               .,\
               icons/,\
               ...

the "source" path was not specified, and it occurred the error that removes part descriptor and some things.

Upvotes: 0

pepe1
pepe1

Reputation: 235

I had to create a new project from scratch and copy & paste all the folders/files in there. I am still unsure as to what caused the issue.

Upvotes: 1

Related Questions