Announcement Announcement Module
Collapse
No announcement yet.
Spring Insight fails on app deployed to root "/" Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Insight fails on app deployed to root "/"

    When I deploy our application to a path such as "/blah" it works with Spring Insight and I have no issues. However, when deployed to the "/" path I get failures to start:

    Caused by: org.springframework.beans.PropertyBatchUpdateExcep tion; nested PropertyAccessExceptions (2) are:
    PropertyAccessException 1: org.springframework.beans.MethodInvocationExceptio n: Property 'viewToMaster' threw exception; nested exception is org.aspectj.lang.NoAspectBoundException: Exception while initializing com_springsource_insight_plugin_springcore_Compone ntMethodOperationCollectionAspect: java.lang.NoClassDefFoundError: org/springframework/stereotype/Component
    PropertyAccessException 2: org.springframework.beans.MethodInvocationExceptio n: Property 'V2viewToMaster' threw exception; nested exception is org.aspectj.lang.NoAspectBoundException: Exception while initializing com_springsource_insight_plugin_springcore_Compone ntMethodOperationCollectionAspect: java.lang.NoClassDefFoundError: org/springframework/stereotype/Component
    at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:102)
    at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:58)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
    ... 141 more
    Does spring Insight work with applications deployed to the root context?

  • #2
    Hi,

    I just remedied a similar error in my local deployment by commenting the following line in <instance-home>/insight/conf/insight.properties:

    #application.context.ignore.root: localhost|ROOT

    Cheers,
    Andreas Vallen

    Comment

    Working...
    X