日期:2014-05-20  浏览次数:21046 次

编译时代码过长是什么问题?
pre-init:
pre-load-properties:
exists.config.active:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
exists.platform.active:
exists.platform.configuration:
exists.platform.profile:
init:
post-init:
pre-preprocess:
deps-jar:
conditional-clean:
pre-clean:
do-clean:
Deleting directory D:\shanghaimetrofare\build\preprocessed
Deleting directory D:\shanghaimetrofare\build\compiled
Deleting: D:\shanghaimetrofare\build\before-obfuscation.jar
Deleting: D:\shanghaimetrofare\build\obfuscated.jar
Deleting directory D:\shanghaimetrofare\build\obfuscated
Deleting directory D:\shanghaimetrofare\build\preverified
Deleting: D:\shanghaimetrofare\build\.timestamp
Deleting: D:\shanghaimetrofare\build\manifest.mf
Deleting: D:\shanghaimetrofare\dist\shanghaimetrofare.jar
Deleting: D:\shanghaimetrofare\dist\shanghaimetrofare.jad
post-clean:
preprocess:
Created dir: D:\shanghaimetrofare\build\preprocessed
Pre-processing 1 file(s) into D:\shanghaimetrofare\build\preprocessed directory.
post-preprocess:
extract-libs:
Created dir: D:\shanghaimetrofare\build\compiled
pre-compile:
compile:
Compiling 1 source file to D:\shanghaimetrofare\build\compiled
D:\shanghaimetrofare\src\smfare\smfare.java:24: 代码过长
  public smfare() {
1 错误
D:\shanghaimetrofare\nbproject\build-impl.xml:183: Compile failed; see the compiler error output for details.
生成失败(总时间:9 秒)


------解决方案--------------------
把那句代码贴出来看看
------解决方案--------------------
问题解决了,是预定义数组过长,把那个数据剥离到文件里就解决了。