I found that the jar file 'high-scale-lib' has a package 'java.util', and then the project 'basic-server' got a package conflict issue.
I remove the maven dependency, as following.
<dependency> <groupId>com.boundary</groupId> <artifactId>high-scale-lib</artifactId> </dependency>
After that, I replace the following codes at classLocalFileSystem.
private final NonBlockingHashMapLong<Path> inodeToPath = new NonBlockingHashMapLong<>(); private final NonBlockingHashMap<Path, Long> pathToInode = new NonBlockingHashMap<>();
private final ConcurrentHashMap<Long,Path> inodeToPath = new ConcurrentHashMap<>(); private final ConcurrentHashMap<Path,Long> pathToInode = new ConcurrentHashMap<>();
I want to know if this way is correct, or I have to use the class 'NonBlockingHashMapLong' ?
Many thanks!