Comments (10)
thanks for reporting this issue.
I have not seen it before, and I cannot reproduce it. So, I ll need some more info to investigate it:
- output of
java -version
- output of
mvn --version
- name of the project in EMB you are trying out
- terminal command-line you are using to run
evomaster.jar
- does the same problem appear if you use
evomaster.jar
version1.0.2
(downloaded from GitHub) instead of locally built1.0.2-SNAPSHOT
?
from evomaster.
mvn --version
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 1.8.0_252, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-40-generic", arch: "amd64", family: "unix"
java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
I have tried scout-api and features-service.
running java -jar core/target/evomaster.jar
I have downloaded the v1.0.1 jar and that works, whereas my locally built 1.0.1 throws the same error as above.
thanks
from evomaster.
hmmm... that is really weird. Usually, that error message would be present when Jackson support is not provided to Jersey. But that is explicitly done in the pom file with:
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>${jersey.version}</version>
</dependency>
can you check if those files end up in the generated jar? eg.:
cd core/target/
unzip evomaster.jar -d foo
ls foo/org/glassfish/jersey/jackson/
furthermore, which mvn
command did you use when building locally?
thanks
from evomaster.
might also be worthy to delete the files from:
~/.m2/repository/org/glassfish/jersey/media/
to force Maven to re-download them (in case there was some file corruption issue there...)
from evomaster.
Yup files are in the generated jar
Command used : mvn clean install -DskipTests
I have wiped my maven local repo and still getting the error
from evomaster.
I have managed to build from source v1.0.1 on a different machine and copy it over, run it, and its working (woohoo).
It would seem there is something quirky going during the compilation process - thanks for your help and I will update the issue if i find out exactly what it was causing the error
from evomaster.
thanks for the update.
wondering if it is something related to the version of Maven... you wrote you used 3.6.3, whereas on my machine I still have an older 3.5.0
What is the Maven version in the other machine you managed to successfully build?
from evomaster.
yeah you got it - switched to maven version 3.5.0 and can successfully build and run v1.0.1 :)
(other machine was version 3.3.9)
from evomaster.
thanks for checking this out.
i ll need to look into why it fails with 3.6.3
from evomaster.
updating maven-assembly plugin seems to fix the issue
from evomaster.
Related Issues (20)
- Query in blackbox testing, how to generate collection Specific cases using EvoMaster HOT 9
- Unexpected Error while executing a swagger v1 url HOT 4
- WARN o.e.c.p.rest.RestActionBuilderV3 - No path parameter for variable 'value' in /validate/{value} HOT 3
- No proper info/warning when mismatch of version between Core and Driver processes HOT 4
- How to understand the statistics output file HOT 2
- Maven build failure while upgrading from JDK8 to JDK17.... HOT 1
- Max String length 16 when setting OpenAPI schema constraint maxLength to a higher value HOT 5
- EvoMaster Core in Maven Central HOT 1
- Support for systems with different database schemas HOT 8
- java.lang.IllegalStateException: LimitObjectGene has no value when trying to generate whitbox tests HOT 7
- OpenApi spec default value is ignored HOT 3
- additionalProperties: [true/false] causes crash HOT 2
- Authentication required when accessing schema HOT 1
- Missing utility scripts for replication HOT 1
- Errors while saving tests to src/em HOT 2
- Testcontainers: could not start container HOT 1
- mvn java run EMDriver error HOT 9
- failed attempt grapghql JS_JEST blackbox HOT 1
- Bug in GraphQL Blackbox mode HOT 4
- Is the installation supported for MAC. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evomaster.