stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Filipovich <fatu...@gmail.com>
Subject http error
Date Wed, 10 Apr 2013 07:24:36 GMT
Hi!

I'm downloaded sources from github, build it on MacOs,
➜  repo git:(trunk) ✗ java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

Run stanbol
java -Xmx1G -XX:MaxPermSize=256m -jar
launchers/stable/target/org.apache.stanbol.launchers.stable-0.10.0-SNAPSHOT.jar
10.04.2013 10:14:40.489 *INFO * [main] Setting
sling.home=/Users/maxfilipovich/Projects/github/stanbol/repo/stanbol
(system property sling.home)
10.04.2013 10:14:40.490 *INFO * [main] Starting Apache Sling in
/Users/maxfilipovich/Projects/github/stanbol/repo/stanbol
10.04.2013 10:14:40.504 *INFO * [main] Checking launcher JAR in folder
/Users/maxfilipovich/Projects/github/stanbol/repo/stanbol
10.04.2013 10:14:40.551 *INFO * [main] Existing launcher is up to date,
using it: 2.4.0 (org.apache.sling.launchpad.base.jar)
10.04.2013 10:14:40.554 *INFO * [main] Loading launcher class
org.apache.sling.launchpad.base.app.MainDelegate from
org.apache.sling.launchpad.base.jar
10.04.2013 10:14:40.572 *INFO * [main] Setting
sling.launchpad=/Users/maxfilipovich/Projects/github/stanbol/repo/stanbol
10.04.2013 10:14:40.572 *INFO * [main] Starting launcher ...
10.04.2013 10:14:40.575 *INFO * [main] HTTP server port: 8080

But, at localhost:8080/ i saw first error:

java.lang.ExceptionInInitializerError
	at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
	at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
	at freemarker.core.Configurable.<init>(Configurable.java:139)
	at freemarker.template.Configuration.<init>(Configuration.java:142)
	at freemarker.template.Configuration.<clinit>(Configuration.java:127)

and after:

java.lang.NoClassDefFoundError: Could not initialize class
freemarker.template.Configuration
	at org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.renderPojo(ViewableWriter.java:82)
	at org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:74)
	at org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:43)

After running jar i encountered on warnings:
INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40
PM'
Apr 10, 2013 10:15:05 AM com.sun.jersey.spi.inject.Errors
processErrorMessages
WARNING: The following warnings have been detected with resource and/or
provider classes:
  WARNING: A HTTP GET method, public void
org.apache.clerezza.platform.security.permissioncheck.PermissionCheck.checkPermission(java.lang.String),
MUST return a non-void type.

I need some configuration or i missed something?

Thanks for any help! Maxim

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message