Return-Path: X-Original-To: apmail-stanbol-dev-archive@www.apache.org Delivered-To: apmail-stanbol-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42CE3FF06 for ; Wed, 10 Apr 2013 08:24:25 +0000 (UTC) Received: (qmail 68500 invoked by uid 500); 10 Apr 2013 08:24:24 -0000 Delivered-To: apmail-stanbol-dev-archive@stanbol.apache.org Received: (qmail 68098 invoked by uid 500); 10 Apr 2013 08:24:21 -0000 Mailing-List: contact dev-help@stanbol.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stanbol.apache.org Delivered-To: mailing list dev@stanbol.apache.org Received: (qmail 67992 invoked by uid 99); 10 Apr 2013 08:24:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 08:24:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rupert.westenthaler@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 08:24:15 +0000 Received: by mail-wi0-f173.google.com with SMTP id ez12so4530869wid.0 for ; Wed, 10 Apr 2013 01:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=lUFAygHCGhTR9ZdBHmBRSJVCyGJGidO+MkwZTlIJCPI=; b=WkuXHnfVMS14SMKkToCGKn39XOgP62eOjWZctBD4kGV2nvWzBrZCkxDRNAqzAYhgvi E3qOvMAlleb+PHMH3/39oUSjdHhGtgWfE6Uz7p8U9l2sgp4P5DjWuHiWdAKQ1mLGir/A 4leN7x0IOH1bhSqiz45e8JnpGwgysOFzKdxwYKU/p6zWgEcTVa01cAwdAoQpPEdmcLzM aKhduvBHAmPruiDQx8/dZpZL6WbkHW9OGJlpRUkNPUPQk5rSNH0zzmYtyO8C5kyeyIY1 VsXkI85rDu6TBnHHTHFCBL8mRi/Jvc0VyrNTP96xxZ96LxK6EIlMMdho+On8R7njX5ZH RrDw== MIME-Version: 1.0 X-Received: by 10.180.11.136 with SMTP id q8mr1604564wib.18.1365582233767; Wed, 10 Apr 2013 01:23:53 -0700 (PDT) Received: by 10.217.90.134 with HTTP; Wed, 10 Apr 2013 01:23:53 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Apr 2013 10:23:53 +0200 Message-ID: Subject: Re: http error From: Rupert Westenthaler To: dev@stanbol.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Maxim, the launchers should start fine without any configuration. On Wed, Apr 10, 2013 at 9:24 AM, Maxim Filipovich wrote= : > But, at localhost:8080/ i saw first error: > > java.lang.ExceptionInInitializerError > at freemarker.ext.beans.BeansWrapper.(BeansWrapper.java:1= 47) > at freemarker.template.ObjectWrapper.(ObjectWrapper.java:= 69) > at freemarker.core.Configurable.(Configurable.java:139) > at freemarker.template.Configuration.(Configuration.java:14= 2) > at freemarker.template.Configuration.(Configuration.java:= 127) Exceptions like that are thrown if the the loading of the class fails due to an issue while initializing static variables. Usually this is linked with issues in the configuration of OSGI bundles (most likely the o.a.stanbol.commons.freemarker bundle in this case). It would be nice if you could share the full stack trace of the Exceptions. Typically they should be also present in the log /Users/maxfilipovich/Projects/github/stanbol/repo/stanbol/logs/error.lo= g best Rupert ps. you will not be able to attach files on mails to the list. It would be best to create an issue [1] about this. [1] https://issues.apache.org/jira/browse/STANBOL > > 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.che= ckPermission(java.lang.String), > MUST return a non-void type. > > I need some configuration or i missed something? > > Thanks for any help! Maxim -- | Rupert Westenthaler rupert.westenthaler@gmail.com | Bodenlehenstra=C3=9Fe 11 ++43-699-11108907 | A-5500 Bischofshofen