如何使用Dx命令将jar打包成Dex,需要使用D8命令

news2024/9/23 2:29:19

使用dx打包的完整命令,将D:\ssh1.0.jar打包成MyClass.dex,MyClass.dex将会输出在当前CMD命令窗口的目录下。

dx --dex --no-strict --min-sdk-version=26 --output=MyClass.dex D:\ssh1.0.jar

运行结果:不要使用dx命令,打出来的dex可以运行,但是会经常崩溃。报错信息太少了只有一句:Killed

但是d8打包也不太容易,也会报如下 的错误。

只需要添加--min-api 26就可以了完整命令如下

d8 --min-api 26 --output .\ssh.zip .\ssh1.0.jar

如果不加--min-api会报错。

全部报错信息:

D:\workSpace\Ssh202301121307\lib\build>d8 --output .\ ssh1.0.jar D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/session/Session.class:

Type `java.util.Objects` was not found, it is required for default or static interface methods desugaring of `java.lang.Object org.apache.sshd.common.session.Session.resolveAttribute(org.apache.sshd.common.session.Session, org.apache.sshd.common.AttributeRepository$AttributeKey)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:com/skyworth/lib/client/SshClientCliSupport$4.class:

Type `java.lang.String` was not found, it is required for default or static interface methods desugaring of `java.lang.String com.skyworth.lib.client.SshClientCliSupport$4.format(java.util.logging.LogRecord)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/closeable/FuturesCloseable.class:

Type `java.util.Collections` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.util.closeable.FuturesCloseable.<init>(java.lang.Object, java.lang.Object, java.lang.Iterable)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/closeable/FuturesCloseable.class:

Type `java.lang.Boolean` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.util.closeable.FuturesCloseable.lambda$doClose$0(java.util.concurrent.atomic.AtomicInteger, boolean, boolean, org.apache.sshd.common.future.SshFuture)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/closeable/FuturesCloseable.class:

Type `java.lang.Integer` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.util.closeable.FuturesCloseable.lambda$doClose$0(java.util.concurrent.atomic.AtomicInteger, boolean, boolean, org.apache.sshd.common.future.SshFuture)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/KeyUtils.class:

Type `java.nio.file.Files` was not found, it is required for default or static interface methods desugaring of `java.util.AbstractMap$SimpleImmutableEntry org.apache.sshd.common.config.keys.KeyUtils.validateStrictKeyFilePermissions(java.nio.file.Path, java.nio.file.LinkOption[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/kex/DHGroupData.class:

Type `java.util.stream.Collectors` was not found, it is required for default or static interface methods desugaring of `byte[] org.apache.sshd.common.kex.DHGroupData.readOakleyGroupPrimeValue(java.util.stream.Stream)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/KeyUtils.class:

Type `java.lang.System` was not found, it is required for default or static interface methods desugaring of `org.apache.sshd.common.digest.DigestFactory org.apache.sshd.common.config.keys.KeyUtils.getDefaultFingerPrintFactory()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/server/keyprovider/SimpleGeneratorHostKeyProvider$ValidatingObjectInputStream.class:

Type `java.io.ObjectInputStream` was not found, it is required for default or static interface methods desugaring of `java.lang.Class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider$ValidatingObjectInputStream.resolveClass(java.io.ObjectStreamClass)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/server/SftpFileSystemAccessor.class:

Type `java.nio.channels.FileChannel` was not found, it is required for default or static interface methods desugaring of `java.nio.channels.SeekableByteChannel org.apache.sshd.sftp.server.SftpFileSystemAccessor.openFile(org.apache.sshd.sftp.server.SftpSubsystemProxy, org.apache.sshd.sftp.server.FileHandle, java.nio.file.Path, java.lang.String, java.util.Set, java.nio.file.attribute.FileAttribute[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/kex/extension/KexExtensionHandler$KexPhase.class:

Type `java.lang.Enum` was not found, it is required for default or static interface methods desugaring of `org.apache.sshd.common.kex.extension.KexExtensionHandler$KexPhase org.apache.sshd.common.kex.extension.KexExtensionHandler$KexPhase.valueOf(java.lang.String)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/kex/extension/KexExtensionHandler$KexPhase.class:

Type `java.util.EnumSet` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.kex.extension.KexExtensionHandler$KexPhase.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/server/channel/ChannelSession.class:

Type `java.lang.Long` was not found, it is required for default or static interface methods desugaring of `org.apache.sshd.common.channel.RequestHandler$Result org.apache.sshd.server.channel.ChannelSession.handleBreak(org.apache.sshd.common.util.buffer.Buffer, boolean)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:com/skyworth/lib/CliLogger.class:

Type `java.lang.Thread` was not found, it is required for default or static interface methods desugaring of `void com.skyworth.lib.CliLogger.log(java.io.PrintStream, java.util.logging.Level, java.lang.Object, java.lang.Throwable)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/scp/common/ScpHelper.class:

Type `java.lang.Character` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.scp.common.ScpHelper.receive(org.apache.sshd.scp.common.ScpReceiveLineHandler)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/KeyUtils.class:

Type `java.util.Arrays` was not found, it is required for default or static interface methods desugaring of `java.security.PublicKey org.apache.sshd.common.config.keys.KeyUtils.findMatchingKey(java.security.PublicKey, java.security.PublicKey[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/scp/common/ScpHelper.class:

Type `java.lang.Math` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.scp.common.ScpHelper.receiveStream(java.lang.String, org.apache.sshd.scp.common.ScpTargetStreamResolver, org.apache.sshd.scp.common.helpers.ScpTimestampCommandDetails, boolean, int)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/PublicKeyEntryDataResolver.class:

Type `java.util.Base64` was not found, it is required for default or static interface methods desugaring of `byte[] org.apache.sshd.common.config.keys.PublicKeyEntryDataResolver.decodeEntryKeyData(java.lang.String)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/KeyUtils.class:

Type `java.math.BigInteger` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.config.keys.KeyUtils.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/io/der/ASN1Object.class:

Type `java.lang.Object` was not found, it is required for default or static interface methods desugaring of `org.apache.sshd.common.util.io.der.ASN1Object org.apache.sshd.common.util.io.der.ASN1Object.clone()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/KeyRandomArt.class:

Type `java.lang.reflect.Array` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.config.keys.KeyRandomArt.<init>(java.lang.String, int, byte[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/client/SftpClient$Attributes.class:

Type `java.nio.file.attribute.FileTime` was not found, it is required for default or static interface methods desugaring of `org.apache.sshd.sftp.client.SftpClient$Attributes org.apache.sshd.sftp.client.SftpClient$Attributes.accessTime(long, java.util.concurrent.TimeUnit)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:com/skyworth/lib/client/ScpCommandMain.class:

Type `java.nio.charset.Charset` was not found, it is required for default or static interface methods desugaring of `void com.skyworth.lib.client.ScpCommandMain.main(java.lang.String[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/scp/server/ScpShell$PathEntry.class:

Type `java.time.Instant` was not found, it is required for default or static interface methods desugaring of `java.lang.String org.apache.sshd.scp.server.ScpShell$PathEntry.toString(java.nio.file.attribute.FileTime, boolean)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/scp/server/ScpShell$PathEntry.class:

Type `java.time.ZoneId` was not found, it is required for default or static interface methods desugaring of `java.lang.String org.apache.sshd.scp.server.ScpShell$PathEntry.toString(java.nio.file.attribute.FileTime, boolean)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/scp/server/ScpShell$PathEntry.class:

Type `java.time.format.DateTimeFormatter` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.scp.server.ScpShell$PathEntry.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/Property$DurationInSecondsProperty.class:

Type `java.time.Duration` was not found, it is required for default or static interface methods desugaring of `java.time.Duration org.apache.sshd.common.Property$DurationInSecondsProperty.fromStorage(java.lang.Object)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/scp/server/ScpShell$PathEntry.class:

Type `java.nio.file.attribute.PosixFilePermissions` was not found, it is required for default or static interface methods desugaring of `java.lang.String org.apache.sshd.scp.server.ScpShell$PathEntry.display(boolean, boolean)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/io/nio2/Nio2ServiceFactory.class:

Type `java.nio.channels.AsynchronousChannelGroup` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.io.nio2.Nio2ServiceFactory.<init>(org.apache.sshd.common.FactoryManager, org.apache.sshd.common.util.threads.CloseableExecutorService, org.apache.sshd.common.util.threads.CloseableExecutorService)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/file/root/RootedFileSystemProvider.class:

Type `java.nio.file.Paths` was not found, it is required for default or static interface methods desugaring of `java.nio.file.Path org.apache.sshd.common.file.root.RootedFileSystemProvider.uriToPath(java.net.URI)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/signature/SignatureRSA.class:

Type `java.util.stream.Stream` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.signature.SignatureRSA.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/server/SshServer.class:

Type `java.net.InetAddress` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.server.SshServer.start()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/mac/Poly1305Mac.class:

Type `java.lang.Byte` was not found, it is required for default or static interface methods desugaring of `int org.apache.sshd.common.mac.Poly1305Mac.unpackIntLE(byte[], int)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/common/extensions/ParserUtils.class:

Type `java.util.function.Function` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.sftp.common.extensions.ParserUtils.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/SshdEventListener.class:

Type `java.lang.reflect.Proxy` was not found, it is required for default or static interface methods desugaring of `org.apache.sshd.common.util.SshdEventListener org.apache.sshd.common.util.SshdEventListener.validateListener(org.apache.sshd.common.util.SshdEventListener, java.lang.String)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/channel/SttySupport.class:

Type `java.lang.Runtime` was not found, it is required for default or static interface methods desugaring of `java.lang.String org.apache.sshd.common.channel.SttySupport.exec(java.lang.String[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/cipher/BuiltinCiphers$Constants.class:

Type `java.util.regex.Pattern` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.cipher.BuiltinCiphers$Constants.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/kex/KexProposalOption.class:

Type `java.util.Comparator` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.kex.KexProposalOption.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/server/AbstractSftpSubsystemHelper.class:

Type `java.util.function.IntUnaryOperator` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.sftp.server.AbstractSftpSubsystemHelper.doRead(org.apache.sshd.common.util.buffer.Buffer, int)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/file/nativefs/NativeFileSystemFactory.class:

Type `java.nio.file.FileSystems` was not found, it is required for default or static interface methods desugaring of `java.nio.file.FileSystem org.apache.sshd.common.file.nativefs.NativeFileSystemFactory.createFileSystem(org.apache.sshd.common.session.SessionContext)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/agent/unix/AgentServer$SshAgentSession.class:

Type `org.apache.tomcat.jni.Socket` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.agent.unix.AgentServer$SshAgentSession.run()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/server/AbstractSftpSubsystemHelper.class:

Type `java.nio.ByteBuffer` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.sftp.server.AbstractSftpSubsystemHelper.doCheckFileHash(int, java.nio.file.Path, org.apache.sshd.common.NamedFactory, long, long, int, org.apache.sshd.common.util.buffer.Buffer)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/security/eddsa/EdDSASecurityProviderUtils.class:

Type `net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable` was not found, it is required for default or static interface methods desugaring of `java.security.PublicKey org.apache.sshd.common.util.security.eddsa.EdDSASecurityProviderUtils.generateEDDSAPublicKey(byte[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/io/output/NullPrintStream.class:

Type `java.util.Locale` was not found, it is required for default or static interface methods desugaring of `java.io.PrintStream org.apache.sshd.common.util.io.output.NullPrintStream.printf(java.lang.String, java.lang.Object[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/session/helpers/KeyExchangeMessageHandler.class:

Type `java.util.concurrent.Executors` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.session.helpers.KeyExchangeMessageHandler.<init>(org.apache.sshd.common.session.helpers.AbstractSession, org.slf4j.Logger)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/scp/server/InputStreamReader.class:

Type `java.nio.CharBuffer` was not found, it is required for default or static interface methods desugaring of `int org.apache.sshd.scp.server.InputStreamReader.read(char[], int, int)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/agent/unix/AgentClient.class:

Type `org.apache.tomcat.jni.Pool` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.agent.unix.AgentClient.<init>(org.apache.sshd.common.FactoryManager, java.lang.String, org.apache.sshd.common.util.threads.CloseableExecutorService)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/agent/unix/AgentClient.class:

Type `org.apache.tomcat.jni.Local` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.agent.unix.AgentClient.<init>(org.apache.sshd.common.FactoryManager, java.lang.String, org.apache.sshd.common.util.threads.CloseableExecutorService)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/agent/unix/AgentClient.class:

Type `org.apache.tomcat.jni.Error` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.agent.unix.AgentClient.throwException(int)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/loader/AbstractPrivateKeyObfuscator.class:

Type `javax.crypto.Cipher` was not found, it is required for default or static interface methods desugaring of `byte[] org.apache.sshd.common.config.keys.loader.AbstractPrivateKeyObfuscator.applyPrivateKeyCipher(byte[], org.apache.sshd.common.config.keys.loader.PrivateKeyEncryptionContext, int, byte[], boolean)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/server/keyprovider/AbstractGeneratorHostKeyProvider.class:

Type `java.nio.file.attribute.AclEntry` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.server.keyprovider.AbstractGeneratorHostKeyProvider.setFilePermissions(java.nio.file.Path)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/threads/ThreadUtils.class:

Type `java.lang.ClassLoader` was not found, it is required for default or static interface methods desugaring of `java.lang.ClassLoader org.apache.sshd.common.util.threads.ThreadUtils.resolveDefaultClassLoader(java.lang.Class)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/client/SftpVersionSelector.class:

Type `java.util.stream.StreamSupport` was not found, it is required for default or static interface methods desugaring of `int org.apache.sshd.sftp.client.SftpVersionSelector.lambda$preferredVersionSelector$6(java.lang.Iterable, org.apache.sshd.client.session.ClientSession, boolean, int, java.util.List)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/client/fs/SftpFileSystemProvider$1.class:

Type `java.nio.file.attribute.PosixFilePermission` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.sftp.client.fs.SftpFileSystemProvider$1.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/client/fs/SftpFileSystemProvider$1.class:

Type `java.nio.file.AccessMode` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.sftp.client.fs.SftpFileSystemProvider$1.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/logging/LoggingUtils.class:

Type `java.lang.reflect.Modifier` was not found, it is required for default or static interface methods desugaring of `boolean org.apache.sshd.common.util.logging.LoggingUtils.lambda$getMnemonicFields$3(java.util.function.Predicate, java.lang.reflect.Field)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/io/output/SecureByteArrayOutputStream.class:

Type `java.io.ByteArrayOutputStream` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.util.io.output.SecureByteArrayOutputStream.write(int)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/threads/SshdThreadFactory.class:

Type `java.security.AccessController` was not found, it is required for default or static interface methods desugaring of `java.lang.Thread org.apache.sshd.common.util.threads.SshdThreadFactory.newThread(java.lang.Runnable)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:com/skyworth/lib/client/SshKeyScanMain.class:

Type `java.util.UUID` was not found, it is required for default or static interface methods desugaring of `void com.skyworth.lib.client.SshKeyScanMain.resolveServerKeys(org.apache.sshd.client.SshClient, java.lang.String, java.lang.String, java.util.List)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/client/SshClient.class:

Type `java.net.URI` was not found, it is required for default or static interface methods desugaring of `org.apache.sshd.client.future.ConnectFuture org.apache.sshd.client.SshClient.connect(java.lang.String)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:com/skyworth/lib/client/SshClientCliSupport$3.class:

Type `java.util.logging.ConsoleHandler` was not found, it is required for default or static interface methods desugaring of `void com.skyworth.lib.client.SshClientCliSupport$3.setOutputStream(java.io.OutputStream)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/config/keys/loader/openssh/kdf/BCrypt.class:

Type `java.security.MessageDigest` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.config.keys.loader.openssh.kdf.BCrypt.pbkdf(byte[], byte[], int, byte[])`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/slf4j/helpers/Util$ClassContextSecurityManager.class:

Type `java.lang.SecurityManager` was not found, it is required for default or static interface methods desugaring of `java.lang.Class[] org.slf4j.helpers.Util$ClassContextSecurityManager.getClassContext()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/io/nio2/Nio2Acceptor.class:

Type `java.nio.channels.AsynchronousServerSocketChannel` was not found, it is required for default or static interface methods desugaring of `java.nio.channels.AsynchronousServerSocketChannel org.apache.sshd.common.io.nio2.Nio2Acceptor.openAsynchronousServerSocketChannel(java.net.SocketAddress, java.nio.channels.AsynchronousChannelGroup)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:com/skyworth/lib/server/SshServerCliSupport.class:

Type `java.util.ServiceLoader` was not found, it is required for default or static interface methods desugaring of `java.util.List com.skyworth.lib.server.SshServerCliSupport.resolveServerSubsystems(org.apache.sshd.server.ServerFactoryManager, java.util.logging.Level, java.io.PrintStream, java.io.PrintStream, org.apache.sshd.common.PropertyResolver)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:com/skyworth/lib/client/SshClientCliSupport.class:

Type `java.util.logging.Logger` was not found, it is required for default or static interface methods desugaring of `java.util.logging.Handler com.skyworth.lib.client.SshClientCliSupport.setupLogging(java.util.logging.Level, java.io.PrintStream, java.io.PrintStream, java.io.OutputStream)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/threads/SshThreadPoolExecutor.class:

Type `java.util.concurrent.ThreadPoolExecutor` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.util.threads.SshThreadPoolExecutor.shutdown()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/server/SftpSubsystemEnvironment.class:

Type `java.util.stream.IntStream` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.sftp.server.SftpSubsystemEnvironment.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/server/shell/TtyFilterInputStream.class:

Type `java.io.FilterInputStream` was not found, it is required for default or static interface methods desugaring of `int org.apache.sshd.server.shell.TtyFilterInputStream.available()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/net/SshdSocketAddress.class:

Type `java.net.NetworkInterface` was not found, it is required for default or static interface methods desugaring of `java.util.List org.apache.sshd.common.util.net.SshdSocketAddress.getExternalNetwork4Addresses()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/server/auth/gss/GSSAuthenticator.class:

Type `org.ietf.jgss.GSSManager` was not found, it is required for default or static interface methods desugaring of `org.ietf.jgss.GSSManager org.apache.sshd.server.auth.gss.GSSAuthenticator.getGSSManager()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/server/auth/gss/CredentialHelper.class:

Type `javax.security.auth.Subject` was not found, it is required for default or static interface methods desugaring of `org.ietf.jgss.GSSCredential org.apache.sshd.server.auth.gss.CredentialHelper.creds(org.ietf.jgss.GSSManager, java.lang.String, java.lang.String)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/Property$BaseProperty.class:

Type `java.util.Optional` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.common.Property$BaseProperty.<init>(java.lang.String, java.lang.Class, java.lang.Object)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/util/security/SecurityProviderRegistrar.class:

Type `java.security.Security` was not found, it is required for default or static interface methods desugaring of `boolean org.apache.sshd.common.util.security.SecurityProviderRegistrar.registerSecurityProvider(org.apache.sshd.common.util.security.SecurityProviderRegistrar)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/sftp/common/SftpHelper$1.class:

Type `java.nio.file.attribute.AclEntryType` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.sftp.common.SftpHelper$1.<clinit>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/io/nio2/Nio2Connector.class:

Type `java.nio.channels.AsynchronousSocketChannel` was not found, it is required for default or static interface methods desugaring of `java.nio.channels.AsynchronousSocketChannel org.apache.sshd.common.io.nio2.Nio2Connector.openAsynchronousSocketChannel(java.net.SocketAddress, java.nio.channels.AsynchronousChannelGroup)`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/common/io/BuiltinIoServiceFactoryFactories.class:

Type `java.lang.Class` was not found, it is required for default or static interface methods desugaring of `java.lang.Class org.apache.sshd.common.io.BuiltinIoServiceFactoryFactories.getFactoryClass()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/agent/unix/AprLibrary.class:

Type `org.apache.tomcat.jni.Library` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.agent.unix.AprLibrary.<init>()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/agent/unix/AprLibrary.class:

Type `java.io.File` was not found, it is required for default or static interface methods desugaring of `java.lang.String org.apache.sshd.agent.unix.AprLibrary.createLocalSocketAddress()`

Warning in D:\workSpace\Ssh202301121307\lib\build\ssh1.0.jar:org/apache/sshd/agent/unix/AprLibrary.class:

Type `org.apache.tomcat.jni.File` was not found, it is required for default or static interface methods desugaring of `void org.apache.sshd.agent.unix.AprLibrary.chmodOwner(java.lang.String, boolean)`

Error: Class or interface java.io.IOException required for desugaring of try-with-resources is not found.

Compilation failed

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/171676.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

NestJS 项目实战 技术选型 (文末附视频)

前言 通过上一章的学习&#xff0c;我们了解了网关系统&#xff0c;并且针对要做的功能做了项目架构设计与需求拆解。 那在一个项目正式开发之前&#xff0c;我们还需要做一个技术调研&#xff0c;从开发框架、使用的工具、数据库等等进行一系列的预研&#xff0c;避免在业务…

嘿~ 基于分布式架构的技术交流社区(WhiteHoleV0.7)即将竣工!

文章目录前言项目介绍WhiteHole期望立项作者功能/模块简介用户模块问答模块社区模块博文模块Next前言 拖更&#xff0c;拖延了这么久&#xff0c;耗时超过3个月的项目&#xff0c;WhiteHoleV0.7 版本即将迎来最后的收尾工作。当然考虑到服务成本&#xff0c;和开发进度&#x…

【以太网硬件十九】SGMII到底能不能直接出光模块?

SGMII接口到底能不能直接出光模块&#xff1f;先说结论&#xff1a;我认为可以&#xff0c;但是有限制&#xff0c;此时的光口只支持强制模式&#xff0c;不支持自协商。如果对端是1000base-X接口&#xff0c;对端也需要把自协商关闭才能与SGMII直出的光口建立连接。为什么SGMI…

你是真的“C”——C语言详解求素数n种境界~

详解C语言函数模块知识(下篇&#xff09;&#x1f60e;前言&#x1f64c;必备小知识~&#x1f618;C语言详解《试除法》求解素数&#x1f64c;试除法第一层境界~ &#x1f60a;试除法境界2~&#x1f60a;试除法境界3~&#x1f60a;试除法境界4~&#x1f60a;C语言详解《筛选法》…

为何限制英伟达出售GPU芯片?中国的AI技术领先,让美国怕了

2022年下半年美国突然要求GPU芯片领军者NVIDIA停止对中国出售高端GPU芯片&#xff0c;此举让人疑惑不解&#xff0c;近期日本媒体《日本经济新闻》与荷兰的一家学术信息巨头的分析给出了答案&#xff0c;中国在AI技术上已领先于美国&#xff0c;而NVIDIA的高端GPU芯片有助于中国…

Web端即时通信技术-WebSocket

最近在做项目的时候&#xff0c;遇到了一个前端页面需要实时刷新的功能&#xff0c;一种方法是我们通过短轮询的方式&#xff0c;但这种方式虽然简单&#xff0c;但是无用的请求过多&#xff0c;占用资源&#xff0c;并且如果是对数据要求高较高的场景&#xff0c;就不适用了。…

汽车ECU软件开发之应用层软件与底层软件

随着汽车产品日渐趋向电子化&#xff0c;人们对各类先进的安全系统、高级驾驶辅助系统的接受程度日益提升。而原本昂贵的盲点检测、自动紧急制动等功能的成本下滑&#xff0c;使其快速获得了市场青睐。富士奇美拉研究所&#xff08;Fuji Chimera Research Institute&#xff09…

MySQL算术/比较/逻辑/位/运算符与正则全解

文章目录1. 算术运算符加法与减法运算符乘法与除法运算符求模&#xff08;求余&#xff09;运算符2. 比较运算符等号运算符安全等于运算符不等于运算符非符号类型的运算符空运算符非空运算符最小值运算符最大值运算符BETWEEN AND运算符IN运算符NOT IN运算符LIKE运算符ESCAPEREG…

〖金融帝国实验室〗(Capitalism Lab)v8.2.00官方重大版本更新(2023.01.17正式发布)

〖金融帝国实验室〗&#xff08;CapLab&#xff09;v8.2.00正式发布&#xff01; ————————————— ※v8.2.00更新内容摘要&#xff1a; 1.新增生活服务业&#xff1a;快餐店、比萨店、蛋糕店和咖啡店。 2.可以通过在农场周围购买土地并耕耘来实现产能扩容。 3.…

九龙证券|重磅会议召开,工信部强调推进民爆行业高质量发展

工信部强调推动民爆职业高质量开展&#xff0c;民爆概念股午后拉升。 工业和信息化部举行 民爆职业安全出产视频会议 据工信部网站&#xff0c;1月17日&#xff0c;工业和信息化部举行民爆职业安全出产视频会议。 工业和信息化部副部长徐晓兰表明&#xff0c;部党组对安全出…

【Linux操作系统】环境变量和命令行参数

文章目录一.环境变量1.什么是环境变量&#xff1f;2.windows下配置PATH环境变量的原理3.一览常见的环境变量4.指令方式如何查看环境变量5.PATH-存放系统默认搜索路径的环境变量6.两种方法使运行我们写的可执行程序不带路径二.环境变量和本地变量三.和环境变量相关的命令1.echo:…

元组的操作

1 元组的定义&#xff1a; 元组就是用一对小括号括起来的多个元素的有序集合&#xff0c;个元素之间用逗号隔开。 2 元组的创建&#xff1a; 2.1 使用&#xff08;&#xff09;创建元组对象。例&#xff1a;lt(12,34,"one") 2.2 使用内置方法tuple创建元组对象。…

mysql 为什么说加上了索引,查询速度就快了呢?(文末附视频)

一天&#xff0c;老板跟我们提出说网站访问的速度太慢&#xff0c;要求我们尽快优化一下。我赶快去查询了一下&#xff0c;发现有几条 SQL 查询的时间异常&#xff0c;我相信这个时候很多小伙伴的大脑里浮现出来的第一个解决办法就是&#xff1a;加索引。 那么到底什么是索引呢…

字符加密-C语言实现

任务描述 请编写程序将一串5个字符组成的英文字符串译成密码&#xff0c;规则为&#xff1a;例如&#xff0c;将“China”译成密码&#xff0c;密码规律是&#xff1a;用原来的字母后面第4个字母代替原来的字母。例如&#xff0c;字母A后面第4个字母是“E”&#xff0c;用“E”…

虚拟电厂负荷控制系统三维可视化监控 | 数字孪生

随着国家“双碳”及“构建以新能源为主体的新型电力系统”等目标的提出&#xff0c;清洁化、数字化越来越成为电力系统面临的迫切需求&#xff0c;负控系统的发展对电力营销现代化建设具有重要的意义。负控管理系统是一个着眼于全面加强电力信息管理的&#xff0c;集负荷控制、…

FMC子卡设计方案原理图:FMC550-基于ADRV9002双窄带宽带射频收发器FMC子卡

FMC550-基于ADRV9002双窄带宽带射频收发器FMC子卡一、产品概述 ADRV9002 是一款高性能、高线性度、高动态范围收发器&#xff0c;旨在针对性能与功耗系统进行优化。该设备是可配置的&#xff0c;非常适合要求苛刻、低功耗、便携式和电池供电的设备。ADRV9002 的工作频率为 …

我的2022年度总结

今天是腊月廿七&#xff0c;又到了写年度总结的时候了&#xff0c;这是写年度总结的第七个年头&#xff0c;希望可以一直坚持写下去。今年是新冠疫情的第三年&#xff0c;疫情管控结束了&#xff0c;同时疫情流行也开始了。我在北京刚全面放开的时候就阳了。用了差不多一周多的…

Go 语言就是在“面向未来”学习(文末附视频)

你好&#xff0c;欢迎学习 Go 语言&#xff01; 我们知道&#xff0c;Go 程序设计语言是由 Robert Griesemer、Rob Pike、Ken Thompson 主持&#xff0c;于 2007 年末开始开发的全新高级编程语言。在 2009 年 11 月开源&#xff0c;并于 2012 年发布了第一个稳定版本&#xff…

基于OpenCv的人脸识别,翻车了居然识别错误。

前言 我们身边的人脸识别有车站检票&#xff0c;监控人脸&#xff0c;无人超市&#xff0c;支付宝人脸支付&#xff0c;上班打卡&#xff0c;人脸解锁手机。 人脸检测是人脸识别系统组成的关键部分之一&#xff0c;其目的是检测出任意给定图片中的包含的一个或多个人脸&#xf…

23种设计模式(十)——原型模式【对象创建】

原型模式 文章目录 原型模式意图什么时候使用原型真实世界类比原型模式的实现原型模式的优缺点亦称:克隆、Clone、Prototype 意图 原型模式属于对象的创建模式。通过给出一个原型对象来指明所有创建对象的类型,然后用复制这个原型对象的方法创建出更多同类型的对象。这就是原…