Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » I programmatically create a IProject, then try to convert it to IJavaProject
I programmatically create a IProject, then try to convert it to IJavaProject [message #236375] Mon, 25 September 2006 21:02 Go to next message
Eclipse UserFriend
Originally posted by: wangchen1981.gmail.com

using IJavaProject jproject= JavaCore.create(project);
However i always get the error
java.lang.ExceptionInInitializerError
at org.eclipse.jdt.core.JavaCore.create(JavaCore.java:1213)
......
How to solve this?
Thanks in advance.
Chen
Re: I programmatically create a IProject, then try to convert it to IJavaProject [message #236382 is a reply to message #236375] Mon, 25 September 2006 21:07 Go to previous message
Eclipse UserFriend
Originally posted by: wangchen1981.gmail.com

well, i found the problem..
actually i should add org.eclips.jdt.core as an dependency for my plugin..
not only a external jar...



"chen" <wangchen1981@gmail.com> wrote in message
news:ef9u7d$hj5$1@utils.eclipse.org...
> using IJavaProject jproject= JavaCore.create(project);
> However i always get the error
> java.lang.ExceptionInInitializerError
> at org.eclipse.jdt.core.JavaCore.create(JavaCore.java:1213)
> .....
> How to solve this?
> Thanks in advance.
> Chen
>
>
>
Previous Topic:Eclipse shows errors in Ant files pulled in with import (missing target)
Next Topic:Eclipse compiles, javac doesn’t
Goto Forum:
  


Current Time: Mon Nov 03 03:45:59 EST 2025

Powered by FUDForum. Page generated in 0.23703 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top