I was testing the new layout with webby and was unable to start the app
without this dependency:
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.0.1</version>
</dependency>
checking:
<dependency>
<groupId>org.openid4java</groupId>
<artifactId>openid4java-consumer</artifactId>
<version>0.9.6</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>com.google.code.guice</groupId>
<artifactId>guice</artifactId>
</exclusion>
<exclusion>
<artifactId>httpclient</artifactId>
<groupId>org.apache.httpcomponents</groupId>
</exclusion>
</exclusions>
</dependency>
SEVERE: Exception sending context initialized event to listener instance of
class org.apache.roller.weblogger.ui.core.RollerContext
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name '_filterChainProxy': Initialization of bean failed; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '_filterChainList': Cannot create inner bean
'(inner bean)' of type
[org.springframework.security.config.OrderedFilterBeanDefinitionDecorator$OrderedFilterDecorator]
while setting bean property 'filters' with key [7]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name '(inner bean)': Cannot resolve reference to bean
'openidAuthenticationProcessingFilter' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'openidAuthenticationProcessingFilter' defined in
ServletContext resource [/WEB-INF/security.xml]: Invocation of init method
failed; nested exception is java.lang.NoClassDefFoundError:
org/apache/http/client/ClientProtocolException
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
Also, there is a need to have a local version of roller-custom.properties,
what would be the correct maven way of doing this?
eg:
<resource>
<!-- Enable our custom override properties -->
<directory>${project.basedir}/src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>roller-custom.properties</include>
</includes>
</resource>
we could add this to the pom so we only need then copy in the file
roller-custom.properties to /src/main/resources to run locally.
Cheers Greg.