Closed mposolda closed 10 years ago
KeycloakApplication.getSessionFactory() is new method in 1.0-rc-2, which didn't exist in 1.0-beta-2. I guess you have still old keycloak jars in dist/target/liveoak/standalone/deployments/auth-server.war/WEB-INF/lib, that's why you can't see new method.
I think you need to fully rebuild whole project and dist to fix this issue.
That's after full clean rebuild:
mvn clean install -DskipTests
And to make sure I also did:
rm -rf dist/target
It worked fine for me.
Aslak had same problem, but clean build fixed it.
Sent from my iPhone
On Sep 3, 2014, at 17:44, Marko Strukelj notifications@github.com wrote:
That's after full clean rebuild:
mvn clean install -DskipTests And to make sure I also did:
rm -rf dist/target — Reply to this email directly or view it on GitHub.
Ok, I got it to work. Looks like deleting dist/target plays no role, and 'mvn clean' failed somewhere halfway, and then skipped cleaning the rest of the modules or something ...
mvn clean
did it.
After this upgrade the dist/target/liveoak/bin/standalone.sh will not start up properly any more.