Comments (5)
@ParkSale Hi~
Thx reporting bug.
I clone the code from repository and pass the test in my environment. The code loadPrivateKeyFromFile
is get resource file from test resources directory . (the file is in directory)
I need more information, your os, your project sdk(jdk) version, and your ide version, or your maven command
from dss.
@ParkSale
It likes encoding issue. Some error occurred when load the test resource. Can you fix the loadFromTestResources method?
package io.github.ztkmkoo.dss.server.rest;
public class DssRestServerTest {
private static File loadFromTestResources(String path) {
final ClassLoader classLoader = DssRestServerTest.class.getClassLoader();
return new File(classLoader.getResource(path).getFile());
}
}
from dss.
With local user account name(not eng), mvn install was failed for creating jacoco reporting file.
We have to modify jacoco plugins configuration at pom.xml(root)
- add property
<jacoco.agent.argLine></jacoco.agent.argLine>
- jacoco build plugin (im not sure other version worked)
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.7.201606060606</version>
<!-- <version>0.7.6.201602180812</version>-->
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
</configuration>
</execution>
</executions>
<configuration>
<propertyName>jacoco.agent.argLine</propertyName>
</configuration>
</plugin>
- modify maven-surefire-plugin (at least 3.0.0-M3 or 2.22.0)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<argLine>${jacoco.agent.argLine}</argLine>
</configuration>
</plugin>
from dss.
ref link bout jacoco
- https://stackoverflow.com/questions/12269558/maven-jacoco-plugin-error
- https://stackoverflow.com/questions/23190107/cannot-use-jacoco-jvm-args-and-surefire-jvm-args-together-in-maven
from dss.
Thank you . I solve this problem with your help and add decoding in loadFromTestResources method
from dss.
Related Issues (20)
- Load test spring mvc server performance HOT 5
- Add ExceptionHandler interface that users can customize exception handler HOT 2
- Create akka property and its test HOT 2
- Create authentication interface and memory actor HOT 1
- Redesign actor interface HOT 2
- [BUG]Remove this unused import 'io.netty.handler.logging.LogLevel' in DssRestChannel HOT 1
- Update CodeStyle Wiki HOT 8
- Update wiki url HOT 3
- Update gitignore file HOT 1
- Release dss-server 0.5
- Implement new master actor HOT 1
- Add websocket client
- [BUG]Fix "NullPointerException" could be thrown HOT 2
- Update README.md
- Implement new network actor HOT 1
- Add gitter badge to README.md
- Implement new resolver actor
- Implement new service actor
- Add social preview image HOT 1
- [Discuss]Does dss need convert to kotlin? HOT 1
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 dss.