kotlin跟java混编_在kotlin 和 java 混编的时候发现了几个常见的问题(如: zip is xxxx)及解决方式...

你好,我想问一下你遇到的 zip is xxxx这个问题是怎么解决的?我也遇到了这个问题。然后换你的插件,遇到下面的报错,目前还都跑不起来:no sources specified

AspectJ Compiler

Usage: ..

AspectJ-specific options:

-inpath use classes in dirs and jars/zips in as source

( uses platform-specific path delimiter)

-injars use classes in zip files as source

( uses classpath delimiter)

deprecated - use inpath instead.

-aspectpath weave aspects in .class files from dirs and jars/zip into sources

( uses classpath delimiter)

-outjar put output classes in zip file

-outxml generate META-INF/aop.xml

-outxmlfile specify alternate destination output of -outxml

-argfile specify line-delimited list of source files

-showWeaveInfo display information about weaving

-incremental continuously-running compiler, needs -sourceroots

(reads stdin: enter to recompile and 'q' to quit)

-sourceroots compile all .aj and .java files in

( uses classpath delimiter)

-crossrefs generate .ajsym file into the output directory

-emacssym generate .ajesym symbol files for emacs support

-Xlint same as '-Xlint:warning'

-Xlint: set default level for crosscutting messages

( may be ignore, warning, or error)

-Xlintfile specify properties file to set per-message levels

(cf org/aspectj/weaver/XlintDefault.properties)

-X print help on non-standard options

Standard Eclipse compiler options:

Options enabled by default are prefixed with '+'

Classpath options:

-cp -classpath

specify location for application classes and sources

-bootclasspath

specify location for system classes

-d destination directory (if omitted, no directory is created)

-d none generate no .class files

-encoding specify custom encoding for all sources. Each file/directory can override it

when suffixed with '['']' (e.g. X.java[utf8])

Compliance options:

-1.4 + use 1.4 compliance (-source 1.3 -target 1.2)

-1.5 -5 -5.0 use 1.5 compliance (-source 1.5 -target 1.5)

-1.6 -6 -6.0 use 1.6 compliance (-source 1.6 -target 1.6)

-1.7 -7 -7.0 use 1.7 compliance (-source 1.7 -target 1.7)

-1.8 -8 -8.0 use 1.8 compliance (-source 1.8 -target 1.8)

-1.9 -9 -9.0 use 1.9 compliance (-source 1.9 -target 1.9)

-10 for Java 10 (-source 10 -target 10)

-11 for Java 11 (-source 11 -target 11)

-12 for Java 12 (-source 12 -target 12)

-13 for Java 13 (-source 13 -target 13)

-14 for Java 14 (-source 14 -target 14)

-source set source level: 1.3 to 14

-target set classfile target: 1.1 to 14

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值