java.lang.AssertionError

Using -jar my.jar should use the application.properties from the jar set 29, 2016 10:42:51 AM org.springframework.context.annotation.AnnotationConfigApplicationContext prepareRefresh INFORMAÇÕES: Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@43a0cee9: startup date [Thu Sep 29 10:42:51 BRT 2016]; root of context hierarchy Hello Embedded Jar! set 29, 2016 10:42:51 AM org.springframework.context.annotation.AnnotationConfigApplicationContext doClose INFORMAÇÕES: Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@43a0cee9: startup date [Thu Sep 29 10:42:51 BRT 2016]; root of context hierarchy . Expression: out.contains(Hello Embedded World!)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2383

  • INFORMAÇÕES: Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@43a0cee9: startup date [Thu Sep 29 10:42:51 BRT 2016]; root of context hierarchy . Expression: out.contains(Hello Embedded World!)
  • via GitHub by wildfly-ci
    , 11 months ago
    }, {name=Server, value=WildFly/10}, {name=eCnC-I3mpS9fzKwefP0VZBPmJjZVZzSw98U1pTot, value=PASSIVATION}, {name=Content-Length, value=0}, {name=jsessionid, value=gdbGNUtpZ_mLmAMW6Xdw_Xt157tGmML6hUNb8b-2}, {name=Date, value=Thu, 07 Apr 2016 16:51:31 GMT},
  • via GitHub by wildfly-ci
    , 11 months ago
    =uiUJtghdB9fLOcwsrXWIMAeyLRCgLPxOkPzzkQJv.node-0; path=/passivation}, {name=Server, value=WildFly/10}, {name=Content-Length, value=0}, {name=jsessionid, value=uiUJtghdB9fLOcwsrXWIMAeyLRCgLPxOkPzzkQJv}, {name=Date, value=Thu, 17 Mar 2016 15:42:02 GMT},
  • Stack trace

    • java.lang.AssertionError: Using -jar my.jar should use the application.properties from the jar set 29, 2016 10:42:51 AM org.springframework.context.annotation.AnnotationConfigApplicationContext prepareRefresh INFORMAÇÕES: Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@43a0cee9: startup date [Thu Sep 29 10:42:51 BRT 2016]; root of context hierarchy Hello Embedded Jar! set 29, 2016 10:42:51 AM org.springframework.context.annotation.AnnotationConfigApplicationContext doClose INFORMAÇÕES: Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@43a0cee9: startup date [Thu Sep 29 10:42:51 BRT 2016]; root of context hierarchy . Expression: out.contains(Hello Embedded World!) at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:401) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:655) at Script1.run(Script1.groovy:13) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:518) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:556) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:527) at org.apache.maven.shared.scriptinterpreter.GroovyScriptInterpreter.evaluateScript(GroovyScriptInterpreter.java:83) at org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:249) at org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:177) at org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1743) at org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1412) at org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuilds(AbstractInvokerMojo.java:1259) at org.apache.maven.plugin.invoker.AbstractInvokerMojo.execute(AbstractInvokerMojo.java:737) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39) at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122) at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:50)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    2 times, 1 month ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates