Skip to main content



      Home
Home » Archived » Buckminster » ERROR [0001] : The import junit cannot be resolved
ERROR [0001] : The import junit cannot be resolved [message #537134] Tue, 01 June 2010 08:42 Go to next message
Eclipse UserFriend
Hi all,

I have a project with 'Java BuildPath' - Libraries - JUnit4 - junit.jar. This references to a local file.
In my case to Eclipse plugin c:\eclipse-3.1.5.-6\plugins\org.junit4_4.5.0.v20090824
There are more Libraries definied such as junit.
In Buckminster IDE its OK.
But in buckminster headless I get following error:
ERROR   [0001] : The import junit cannot be resolved


How can I resolve my Problem to work in IDE and headless? Have I to customize dependencies?


Any ideas?
Rainer
Re: ERROR [0001] : The import junit cannot be resolved [message #537255 is a reply to message #537134] Tue, 01 June 2010 12:48 Go to previous messageGo to next message
Eclipse UserFriend
Hello Rainer,

did you install the headless support for junit?

Regards
Axel


Rainer wrote:

> Hi all,
>
> I have a project with 'Java BuildPath' - Libraries - JUnit4 - junit.jar.
> This references to a local file. In my case to Eclipse plugin
> c:\eclipse-3.1.5.-6\plugins\org.junit4_4.5.0.v20090824 There are more
> Libraries definied such as junit. In Buckminster IDE its OK.
> But in buckminster headless I get following error:
> ERROR [0001] : The import junit cannot be resolved
>
> How can I resolve my Problem to work in IDE and headless? Have I to
> customize dependencies?
>
>
> Any ideas?
> Rainer
Re: ERROR [0001] : The import junit cannot be resolved [message #538948 is a reply to message #537255] Wed, 09 June 2010 03:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi

I use buckminster headless 1.1.350.r11410 (3.5)
How can I install support for junit?

If I use buckminster headless 1.2.0.r11458 (Eclipse 3.6) then I get following error:
ERROR [0001] : java.lang.NoSuchMethodError: org.eclipse.buckminster.core.resolver.NodeQuery.getRevision( )J

Why J at last character?
How can I fix my problems?

any ideas?
Rainer
Re: ERROR [0001] : The import junit cannot be resolved [message #538993 is a reply to message #538948] Wed, 09 June 2010 05:13 Go to previous messageGo to next message
Eclipse UserFriend
On 06/09/2010 09:38 AM, Rainer wrote:
> Hi
>
> I use buckminster headless 1.1.350.r11410 (3.5)
> How can I install support for junit?
>
You can't. Not in 3.6. But do you really need to install it? From the printout it seems like your target platform is
lacking the bundle. You only need to install it if you plan to actually run the JUnit tests.

> If I use buckminster headless 1.2.0.r11458 (Eclipse 3.6) then I get
> following error:
> ERROR [0001] : java.lang.NoSuchMethodError:
> org.eclipse.buckminster.core.resolver.NodeQuery.getRevision( )J
>
> Why J at last character?

The internal name used by the NoSuchMethodError includes the return type and J is internal Java lingo for long.

> How can I fix my problems?
>
Reinstall using a 3.6 product as well as a 3.6 features. You can't mix them.

Regards,
Thomas Hallgren
Re: ERROR [0001] : The import junit cannot be resolved [message #538994 is a reply to message #538993] Wed, 09 June 2010 05:44 Go to previous message
Eclipse UserFriend
On 06/09/2010 11:13 AM, Thomas Hallgren wrote:
> On 06/09/2010 09:38 AM, Rainer wrote:
>> Hi
>>
>> I use buckminster headless 1.1.350.r11410 (3.5)
>> How can I install support for junit?
>>
> You can't. Not in 3.6.

Uh, I meant to write "not in 3.5". Sorry...

- thomas
Previous Topic:Headless build: The import junit cannot be resolved
Next Topic:Standalone build with buckminster
Goto Forum:
  


Current Time: Sat May 17 18:28:15 EDT 2025

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

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

Back to the top