Launch unit test with dependencies
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2014 08:09 AM
Hi,
I starting using Activiti Designer, and I wrote a little bit of code to send request in java using Jersey library.
After adding the dependency in my pom.xml, the maven install was correctly performed.
But after I try to run the Unit test and it say:
you can folllow this link to watch the backtrace: http://pastebin.com/KX2jf8et
Where can we mention the dependency to Jersey during the run of the UnitTest ?
Thanks,
Marc-Antoine
I starting using Activiti Designer, and I wrote a little bit of code to send request in java using Jersey library.
After adding the dependency in my pom.xml, the maven install was correctly performed.
But after I try to run the Unit test and it say:
java.lang.ClassNotFoundException: org.glassfish.jersey.client.JerseyClientBuilder
you can folllow this link to watch the backtrace: http://pastebin.com/KX2jf8et
Where can we mention the dependency to Jersey during the run of the UnitTest ?
Thanks,
Marc-Antoine
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2014 01:26 AM
Hi,
It is maven project, that's why dependencies should be mentioned in the pom.
Questions:
# Do you have all required dependencies in pom?
# Is your IDE updated?
Regards
Martin
It is maven project, that's why dependencies should be mentioned in the pom.
Questions:
# Do you have all required dependencies in pom?
# Is your IDE updated?
Regards
Martin
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2014 04:33 AM
Hi,
Thanks for the reply.
In fact I found the error. My project (created with New Project-> Activiti Project) was not a maven project by default.
I set as a maven project using : right click on my project -> Configure -> "Convert to Mavem Project"
Is it a problem of configuration or if it's every time like that ?
I use Eclipse Luna.
Thanks for the reply.
In fact I found the error. My project (created with New Project-> Activiti Project) was not a maven project by default.
I set as a maven project using : right click on my project -> Configure -> "Convert to Mavem Project"
Is it a problem of configuration or if it's every time like that ?
I use Eclipse Luna.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2014 02:00 PM
I think it is indeed a bug in the current release.
