简体   繁体   English

WildFly(JBoss)与Eclipse的集成

[英]WildFly (JBoss) Integration with Eclipse

I am currently trying to integrate WildFly and Eclipse JEE Oxygen 3 with WildFly12.0. 我目前正在尝试将WildFly和Eclipse JEE Oxygen 3与WildFly12.0集成。 I am getting an error I don't understand nor can I find a fix. 我收到了我不明白的错误,也找不到解决方法。 When in the new server I get the following on the last step: "No valid JREs found for execution environment "JavaSE-1.8" " 在新服务器中,我在最后一步得到以下信息:“未为执行环境“ JavaSE-1.8找到有效的JRE””

Thanks in advance! 提前致谢!

You need to add JRE 1.8 to your installed JREs and then use it on the build path of your project. 您需要将JRE 1.8添加到已安装的JRE中,然后在项目的构建路径上使用它。

Window -> Preferences -> Java -> Installed JREs -> Add 窗口->首选项-> Java->已安装的JRE->添加

Then add this JRE to your build path 然后将此JRE添加到您的构建路径

  1. Right click on your project 右键点击您的项目
  2. Build path -> Configure Build Path 构建路径->配置构建路径
  3. Go to Libraries tab 转到库标签
  4. Add Library -> JRE System Library 添加库-> JRE系统库
  5. Choose JRE 1.8 选择JRE 1.8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM