I have a Java Project inside eclipse that contains a liste of an external jars and i would like to export this project as an eclipse plugin , i tried a lot of solution but i either have this error :
The type javax.persistence.CascadeType cannot be resolved. It is indirectly referenced from required .class files
or i get another error that telling me that he do not recongnise any of external jars
If it’s actually a Java project, first you need to actually convert it to an Eclipse plug-in project (“Configure > Convert to plugin project” in context menu for your project). Then follow advice in http://www.vogella.de/articles/EclipseJarToPlugin/article.html to fix dependency problem.