问题标签 [jdk1.8.0]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
199 浏览

java - 找不到文件'C:\Program File\Java\jdk 1.8.0_45\jre\bin\Android'

当我运行 Android Studio 时,一开始它会显示这两个错误。Android Studio 工作正常,但这些只是烦人。有人知道原因和解决方法吗?

找不到文件'C:\Program File\Java\jdk 1.8.0_45\jre\bin\Android'

找不到文件'C:\Program File\Java\jdk 1.8.0_45\jre\bin\Studio'

0 投票
0 回答
3138 浏览

android-studio - 错误:Android Studio 2.2 上的 CreateProcess 错误=216

在安装最新的 Android Studio 并为 API 23-24 安装一堆 SDK 并重建后,清理项目项目给我这个错误

错误:CreateProcess 错误=216,此版本的 %1 与您正在运行的 Windows 版本不兼容。检查您计算机的系统信息,看看您是否需要 x86(32 位)或 x64(64 位)版本的程序,然后联系软件发行商

错误图像

我不明白的是我拥有最新的 SDK 和 JDK,但仍然出现此错误,是否有人遇到此错误并解决了它。请给我解决方案,所有遇到此类相同错误的用户都将不胜感激。

0 投票
1 回答
5358 浏览

java - 缺少默认 Java 包?

我正在尝试从这里编译一些经过编辑的源代码,但是我不断收到许多关于名为“javax.persistence”的包的错误。

这是我的 IDE 版本 -

我的 JDK 似乎不包含这个包,因为我已经在 SDK 选项卡中链接了整个 JDK。有谁知道我做错了什么?这是我的消息窗口的输出 -

任何帮助表示赞赏。

0 投票
6 回答
19214 浏览

java - 使用 JDK 1.8 java 编译:无法访问类文件...找不到类文件

虽然使用 JDK 1.6 版本可以成功编译相同的代码,但升级到 JDK 1.8 后它不会编译,说java cannot access ....class file ...as class file not found though it exists.

我在 IntelliJ Idea 13 IDE 中编译它,尝试使用 Rebuild 选项和配置的 ANT 构建 - 结果是相同的。

非常感谢任何帮助。

0 投票
0 回答
44 浏览

java - 在 pyScriptClassifier 安装中使用 ant 时出错

我正在尝试从https://github.com/christopher-beckham/weka-pyscript安装 pyScriptClassifier,但是当我运行时(此步骤之前的一切都运行良好)(Mac OS X 10.11.6)

有时候是这样的

命令

返回

我的 env JAVA_HOME 变量似乎没问题。有什么建议么?谢谢你。

编辑:

构建.xml

0 投票
2 回答
5164 浏览

android - 运行模拟器时:调整大小时出现 GL 错误:0x506(忽略)

我是 PHP 开发人员和 android 平台的新手,我已经安装了下面提到的详细信息,

仅供参考,我使用命令行创建了新项目,简单的项目名称(测试),当尝试在下面运行时提到错误,..

笔记 :

在 AVD 管理器中,

Nexus 5X:5.2 1080x1920dpi,Marshmallow:Android 6.0 x86,Ram:512mb,VM 堆:64mb(如果更改 1536,我会在使用 512 时收到警告),内部存储:768,

我为此花费了更多时间。

请支持我,提前谢谢

0 投票
1 回答
1126 浏览

java - How to set the correct path for JRE and JDK while building through jenkins in CentOS 7?

I am facing an issue with the jenkins build in one of our servers.

Issue is :

enter image description here

EventsServiceImpl.java:[1592,137] contains the following code.

By the looks of the issue, it is saying that the jenkins build is taking 1.5 to build the code. where the above code needs java 8 to compile. I have done everything to set the path correctly. I have checked the $JAVA_HOME path in the server. And it points to the correct JRE version. i.e. 1.8.0_111

I also checked my Jenkins JDK path and it is correct as far as I knew.

enter image description here

It is working fine in my local system. My Eclipse compiles it without any issue. But if I change the java compiler from 1.8 to 1.7 / 1.5, it is throwing the error.

My System Config:

OS: Windows 7

JDK: 8

JRE: 1.8.0_31

Server Configurations:

OS: Cent OS 7

JDK: 8

JRE: 1.8.0_111

I don't know, exactly what is the issue? Is it the issue with Jenkins? or is it the issue with Java compiler path in the server? Or is it the issue with Mavan in the server.

And also I have ran sample java file in the server with the above code in it. I ran without any issue. I am able to compile the code and build the code and saw the output.

0 投票
1 回答
1293 浏览

java - Intellij 异常构建过程终止

所以,我刚刚将我的 NVIDIA 图形驱动程序(GeForce 游戏就绪驱动程序)更新到 378.49,现在当我尝试构建任何 Java 项目时,我收到此错误:

错误:异常构建过程终止:“C:\Program Files\Java\jdk1.8.0_101\bin\java”-Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\“\”-Djdt.compiler .useSingleThread=true -Dpreload.project.path=C:/Users/Displee/Documents/Private/Webserver -Dpreload.config.path=C:/Users/Displee/.IntelliJIdea2016.3/config/options -Dcompile.parallel= false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=5407721408972744302 -Dfile.encoding=windows-1252 -Djps.file.types.component.name=FileTypeManager -Duser。语言=nl -Duser.country=NL -Didea.paths.selector=IntelliJIdea2016.3 "-Didea.home.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3" -Didea.config.path=C :\Users\Displee.IntelliJIdea2016.3\config -Didea.plugins.path=C:\Users\Displee.IntelliJIdea2016。3\config\plugins -Djps.log.dir=C:/Users/Displee/.IntelliJIdea2016.3/system/log/build-log "-Djps.fallback.jdk.home=C:/Program Files/Java/jdk1 .8.0_101/jre" -Djps.fallback.jdk.version=1.8.0_101 -Djava.io.tmpdir=C:/Users/Displee/.IntelliJIdea2016.3/system/compile-server/温度-Dkotlin.incremental.compilation.experimental=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\Displee\AppData\Local\Temp\kotlin-idea-5596753944155912704-is- running\" -classpath "C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_101/lib/tools.jar;C: /Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher "C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/resources_en.jar; C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/protobuf-2.5.0.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/rt/jps-plugin-system。 jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/annotations.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/jps-builders.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/jdom.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/jna.jar;C:/Program Files (x86)/JetBrains /IntelliJ IDEA 2016.3/lib/forms_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/idea_rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/jna -platform.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/netty-all-4.1.5.Final.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib /log4j.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/oromatcher.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/util.jar;C:/程序文件 (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/jps-model.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/trove4j.jar;C:/Program Files (x86)/ JetBrains/IntelliJ IDEA 2016.3/lib/openapi.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/javac2.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/snappy-in-java-0.5.1.jar;C: /Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/jgoodies-forms.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/nanoxml-2.2.3.jar;C:/Program文件 (x86)/JetBrains/IntelliJ IDEA 2016.3/lib/asm-all.jar;;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/commons-io-2.2.jar;C :/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/commons-lang-2.6.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle -base-services-3.1.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-base-services-groovy-3.1.jar;C:/Program Files (x86) /JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-cli-3.1。jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-core-3.1.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/ lib/gradle-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-logging-3.1.jar;C:/Program Files (x86)/JetBrains/ IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-messaging-3.1.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-model-core-3.1.jar;C :/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-model-groovy-3.1.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib /gradle-native-3.1.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-process-services-3.1.jar;C:/Program Files (x86)/JetBrains /IntelliJ IDEA 2016。3/plugins/gradle/lib/gradle-resources-3.1.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-tooling-api-3.1.jar;C:/ Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-tooling-extension-api.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle -tooling-extension-impl.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-wrapper-3.1.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/guava-jdk5-17.0.jar;C:/Program Files (x86) /JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/jsr305-1.3.9.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/kryo-2.22.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/minlog-1.2.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/native-platform- 0.11.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/native-platform-freebsd-amd64-0.11.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/native-platform-freebsd-i386-0.11.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/native-platform-linux-amd64-0.11 .jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/native-platform-linux-i386-0.11.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3 /plugins/gradle/lib/native-platform-osx-amd64-0.11.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/native-platform-osx-i386-0.11。罐子;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/native-platform-windows-amd64-0.11.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/ lib/native-platform-windows-i386-0.11.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/objenesis-1.2.jar;C:/Program Files (x86)/ JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/reflectasm-1.07.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/resources_en.jar;C:/Program Files (x86 )/JetBrains/IntelliJ IDEA 2016.3/lib/gson-2.5.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/jarutils.jar;C:/Program Files (x86)/ JetBrains/IntelliJ IDEA 2016.3/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/devkit/lib/devkit-jps-plugin.jar;C :/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/IntelliLang/ lib/intellilang-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Groovy/lib/groovy-jps-plugin.jar;C:/Program Files (x86)/JetBrains/ IntelliJ IDEA 2016.3/plugins/Groovy/lib/groovy-rt-constants.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/eclipse/lib/eclipse-jps-plugin.jar;C:/程序文件 (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/eclipse/lib/common-eclipse-util.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/maven/lib/maven-jps -plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/maven/lib/aether-dependency-resolver.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016。3/plugins/maven/lib/aether-1.1.0-all.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/maven/lib/maven-aether-provider-3.3.9-all .jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/maven/lib/plexus-utils-2.0.6.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins /osmorc/lib/osmorc-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/osmorc/lib/bndlib-3.3.0.jar;C:/Program Files (x86) /JetBrains/IntelliJ IDEA 2016.3/plugins/osmorc/lib/bnd-repository-3.3.0.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/osmorc/lib/bnd-resolve-3.3。 0.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/osmorc/lib/plexus-utils-3.0.10.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/插件/osmorc/lib/bundlor-all.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016。3/plugins/aspectj/lib/aspectj-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/flex/lib/flex-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/flex/lib/flex-shared.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/gradle/lib/gradle-jps-plugin.jar ;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/JavaEE/lib/javaee-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/JavaEE/lib /jps/jpa-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;C:/Program Files (x86) /JetBrains/IntelliJ IDEA 2016.3/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/dmServer/lib/dmServer-jps-plugin。罐子;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/GwtStudio/lib/gwt-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/GoogleAppEngine/lib/google- app-engine-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Grails/lib/grails-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Grails/lib/grails-compiler-patch.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/jps/android-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/jps/android -gradle-jps.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/android-common.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016。3/plugins/android/lib/android-rt.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/sdk-common.jar;C:/Program Files (x86)/ JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/repository.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/sdklib.jar;C:/Program Files (x86)/ JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/common.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/jarutils.jar;C:/Program Files (x86)/ JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/layoutlib-api.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/android/lib/manifest-merger.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-runtime .jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-reflect.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-plugin. jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-android-extensions-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/ Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 51505 e8c185c4-27ca-4e7f-ad66-3b2991449e79 C:/Users /Displee/.IntelliJIdea2016.3/system/compile-server/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-android- extensions-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;C:/Program Files (x86)/JetBrains/ IntelliJ IDEA 2016.3/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains .jps.cmdline.BuildMain 127.0.0.1 51505 e8c185c4-27ca-4e7f-ad66-3b2991449e79 C:/Users/Displee/.IntelliJIdea2016.3/system/compile-server/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-android- extensions-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;C:/Program Files (x86)/JetBrains/ IntelliJ IDEA 2016.3/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains .jps.cmdline.BuildMain 127.0.0.1 51505 e8c185c4-27ca-4e7f-ad66-3b2991449e79 C:/Users/Displee/.IntelliJIdea2016.3/system/compile-server/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/ lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0。 0.1 51505 e8c185c4-27ca-4e7f-ad66-3b2991449e79 C:/Users/Displee/.IntelliJIdea2016.3/system/compile-server/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/ lib/javaFX-jps-plugin.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.3/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0。 0.1 51505 e8c185c4-27ca-4e7f-ad66-3b2991449e79 C:/Users/Displee/.IntelliJIdea2016.3/system/compile-server/Users/Displee/.IntelliJIdea2016.3/system/compile-server/Users/Displee/.IntelliJIdea2016.3/system/compile-server

有谁知道解决这个问题?

0 投票
2 回答
6538 浏览

jsp - WebLogic12C - 方法 _jspService(HttpServletRequest, HttpServletResponse) 的代码超出了 65535 字节的限制

我正在处理在 WebLogic 10.3.6 (JDK 1.6) 上运行的遗留 servlet 代码。

我正在尝试使用 JDK 1.8 和 weblogic 12.2.1.0 编译此代码。当我尝试使用 jdk 1.8 编译 jsp 页面时,我看到以下错误。我尝试了以下选项来解决此问题 1)我尝试了 JSP 的动态包含 2)我尝试添加

两者都不适合我。你能帮我解决这个问题吗?从过去 2 天开始,我一直在为这个错误而苦苦挣扎。但还没有得到任何解决方案。

<2017-02-02T16:21:30.723> <111> MainServlet.doProcess(Request, Response): 处理 HTTP 请求时出错 --- javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: 无法编译 JSP /main/campaign.jspcampaign.jsp:22:1: 方法_jspService(HttpServletRequest, HttpServletResponse)的代码超过了65535字节限制^----- HREF="<%= request.getContextPath() %>/包括/css/moms_styles.css" -------------^

0 投票
1 回答
1129 浏览

java - Java中dt.jar文件的功能是什么?

我想知道位于 jdk/lib 文件夹中的 java 中 dt.jar 文件的功能。我已阅读 oracle 官方文档,但无法理解他们在下面给出的谈话

“dt.jar,BeanInfo文件的DesignTime归档,它告诉交互式开发环境 (IDE) 如何显示 Java 组件以及如何让开发人员为应用程序定制它们。”

有人可以向我解释一下吗?

提前致谢。