Jacol
01/22/2018, 5:56 PMEXCEPTION: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'runApplication' into
public fun main(args: kotlin.Array<kotlin.String>): kotlin.Unit defined in pl.app.app[SimpleFunctionDescriptorImpl@636cba5e]
fun main(args: Array<String>) {
runApplication<AppApplication>(*args)
val x = args.joinToString()
println("sasasa $x")
}
Cause: Not generated
Cause: Cannot inline bytecode of class org/springframework/boot/SpringApplicationExtensionsKt which has version 52. This compiler can only inline Java 1.6 bytecode (version 50)
File being compiled and position: (10,5) in G:/praca/spring/app/src/main/kotlin/pl/app/app/AppApplication.kt
PsiElement: runApplication<AppApplication>(*args)
The root cause was thrown at: InlineCodegenUtil.java:157
at org.jetbrains.kotlin.codegen.inline.InlineCodegen.throwCompilationException(InlineCodegen.java:203)
when I start using ./gradlew bootRun is fine
what am I doing wrong?Czar
01/22/2018, 6:13 PMCzar
01/22/2018, 6:14 PMJacol
01/22/2018, 7:57 PMsdeleuze
01/23/2018, 9:51 AMkotlin-spring
Pawel Urban
01/23/2018, 9:53 AMCannot inline bytecode of class org/springframework/boot/SpringApplicationExtensionsKt which has version 52. This compiler can only inline Java 1.6 bytecode (version 50)
I would say that there is some mismatch between JDK versions in settingsPawel Urban
01/23/2018, 9:54 AMPawel Urban
01/23/2018, 9:55 AMPawel Urban
01/24/2018, 11:28 AMPawel Urban
01/24/2018, 11:29 AMPawel Urban
01/24/2018, 11:38 AMPawel Urban
01/24/2018, 11:38 AMeclipse
task before opening project?Pawel Urban
01/24/2018, 11:38 AMfabricio
01/24/2018, 3:44 PMCannot determine embedded database driver class for database type NONE
sdeleuze
01/24/2018, 3:47 PMfabricio
01/24/2018, 3:52 PMException encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.tomcat.jdbc.pool.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).
sdeleuze
01/24/2018, 3:52 PMfabricio
01/24/2018, 3:53 PMsdeleuze
01/24/2018, 3:53 PMfabricio
01/24/2018, 3:53 PMsdeleuze
01/24/2018, 4:03 PMsdeleuze
01/24/2018, 4:03 PMfabricio
01/24/2018, 4:17 PMfabricio
01/24/2018, 4:17 PMsdeleuze
01/24/2018, 4:35 PMfabricio
01/24/2018, 4:37 PMsdeleuze
01/24/2018, 4:37 PMsdeleuze
01/24/2018, 4:37 PMsdeleuze
01/24/2018, 4:37 PMsdeleuze
01/24/2018, 4:38 PM