0

Spring IDE を介して overthereconnection を有効にしましたが、maven でビルドしたアプリケーションをコマンドラインで実行しようとすると、次のエラーが発生します。

Exception in thread "main" java.util.ServiceConfigurationError: jar (Unknown file system scheme! May be the class path doesn't contain the respective driver module or it isn't set up correctly?)
        at de.schlichtherle.truezip.fs.FsAbstractCompositeDriver.newController(FsAbstractCompositeDriver.java:33)
        at de.schlichtherle.truezip.fs.FsDefaultManager.getController0(FsDefaultManager.java:95)
        at de.schlichtherle.truezip.fs.FsDefaultManager.getController(FsDefaultManager.java:78)
        at de.schlichtherle.truezip.file.TFile.getController(TFile.java:1497)
        at de.schlichtherle.truezip.file.TFile.parse(TFile.java:687)
        at de.schlichtherle.truezip.file.TFile.<init>(TFile.java:659)
        at de.schlichtherle.truezip.file.TFile.<init>(TFile.java:601)
        at nl.javadude.scannit.reader.TFiles.tFile(TFiles.java:23)
        at nl.javadude.scannit.reader.ArchiveEntrySupplier.withArchiveEntries(ArchiveEntrySupplier.java:23)
        at nl.javadude.scannit.Worker.scanFiles(Worker.java:59)
        at nl.javadude.scannit.Worker.scanURI(Worker.java:53)
        at nl.javadude.scannit.Worker.scan(Worker.java:46)
        at nl.javadude.scannit.Scannit.<init>(Scannit.java:41)
        at com.xebialabs.overthere.Overthere.boot(Overthere.java:74)
        at com.xebialabs.overthere.Overthere.<clinit>(Overthere.java:69)
        at com.emc.ondemand.agent.core.discovery.AnalyzeSelf.constructODEnvironmentForSingleHost(AnalyzeSelf.java:172)
        at com.emc.ondemand.agent.core.discovery.DiscoverEnvironment.discoverEnvironment(DiscoverEnvironment.java:85)
        at com.emc.ondemand.agent.core.discovery.DiscoverEnvironment.main(DiscoverEnvironment.java:48)

私のコード呼び出しは次のようになります。

    // establish winrm connection to target host
    ConnectionOptions options = new ConnectionOptions(); 
    options.set(ADDRESS, myHost.getIP()); 
    options.set(USERNAME, user); 
    options.set(PASSWORD, pass); 
    options.set(OPERATING_SYSTEM, WINDOWS); 
    options.set(CONNECTION_TYPE, WINRM_NATIVE); // was not able to get WINRM_INTERNAL to work with processes
    connection = Overthere.getConnection("cifs", options);

これは私が持っている唯一の依存関係です:

    <dependency>
        <groupId>com.xebialabs.overthere</groupId>
        <artifactId>overthere</artifactId>
        <version>4.2.1</version>
    </dependency>

それは正しいTruezipクラスを引き込むので、それが正確に何を意味するのか途方に暮れています.

4

1 に答える 1