{"id":948,"date":"2022-08-30T15:09:51","date_gmt":"2022-08-30T15:09:51","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/eclipse-plugin-development-how-to-include-another-project-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:09:51","modified_gmt":"2022-08-30T15:09:51","slug":"eclipse-plugin-development-how-to-include-another-project-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/eclipse-plugin-development-how-to-include-another-project-collection-of-common-programming-errors\/","title":{"rendered":"Eclipse plugin development: How to include another project?-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m developing a Eclipse plugin. From this plugin I want to instantiate classes from another project that I have developed. I added this project to the build path, but nevertheless, I get the following error:<\/p>\n<pre><code>Caused by: java.lang.ClassNotFoundException: myPackage.myClass\n    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)\n    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)\n    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)\n    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)\n    at java.lang.ClassLoader.loadClass(Unknown Source)\n    ... 38 more\n<\/code><\/pre>\n<p>I&#8217;m sure that I have to add the refernce to this project somewere else, but where? Any hints?<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:05:38. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m developing a Eclipse plugin. From this plugin I want to instantiate classes from another project that I have developed. I added this project to the build path, but nevertheless, I get the following error: Caused by: java.lang.ClassNotFoundException: myPackage.myClass at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(Unknown Source) &#8230; 38 more I&#8217;m sure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-948","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=948"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/948\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}