Comments (4)
使用main方法启动或者使用mvn sprnig-boot:run
启动
from hsweb3-demo.
难道我的JDK(jdk1.8.0_11)版本有问题?
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:735)
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:716)
at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:703)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:304)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at org.hswebframework.web.demo.Application.main(Application.java:31)
Caused by: java.lang.ClassCastException: Cannot cast jdk.nashorn.internal.objects.NativeArray to java.util.Collection
at sun.invoke.util.ValueConversions.newClassCastException(ValueConversions.java:461)
at sun.invoke.util.ValueConversions.castReference(ValueConversions.java:456)
at jdk.nashorn.internal.scripts.Script$^eval_._L1$initialize(:289)
at org.hswebframework.web.starter.init.InitializeCallBack$$NashornJavaAdapter.execute(Unknown Source)
at org.hswebframework.web.starter.init.simple.SimpleDependencyInstaller.doInitialize(SimpleDependencyInstaller.java:45)
at org.hswebframework.web.starter.init.SystemInitialize.doInstall(SystemInitialize.java:122)
at org.hswebframework.web.starter.init.SystemInitialize.install(SystemInitialize.java:199)
at org.hswebframework.web.starter.SystemInitializeAutoConfiguration.run(SystemInitializeAutoConfiguration.java:166)
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:732)
... 6 common frames omitted
from hsweb3-demo.
使用最新的jdk8 版本。
from hsweb3-demo.
1.8.0_1xx 以上
from hsweb3-demo.
Related Issues (20)
- ui问题
- 编译了都启动不了,真无语 HOT 1
- 数据库配置 HOT 1
- 代码生成器生成的模块如何加入到Demo里面? HOT 8
- spring-boot:run和Application启动都未成功 Cannot cast jdk.nashorn.internal.objects.NativeArray to java.util.Collection HOT 3
- 人员管理通过所属机构构造条件查询无效 HOT 2
- mvn打包后,jar怎么部署到tomcat上啊。启动不了呀。 HOT 5
- application.yml配置文件resources属性static-locations HOT 1
- 请问一下后台使用教程在哪? HOT 1
- Unable to find image 'hsweb/hsweb-demo:3.0.1' locally
- 登录账号密码是什么? HOT 1
- 启动时报错,请问怎么解决? HOT 7
- test/test 无法登陆 HOT 3
- 运行application报错,如下 HOT 1
- 启动application错误 HOT 1
- centos上运行java -jar XXX未知错误自动终止 HOT 1
- [疑问]关于web前端 HOT 2
- Cannot cast jdk.nashorn.internal.objects.NativeArray to java.util.Collection
- J
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hsweb3-demo.