On Wed, Jul 23, 2008 at 7:00 PM, Ian Boston <[EMAIL PROTECTED]> wrote:
> I assume that you are using mvn -Prun ?

Yup.

> If so can you check that you have
>
> java/server/target/shindig-server-1-SNAPSHOT/WEB-INF/lib/json_simple-r1.jar

No.

> target/work/webapp/WEB-INF/lib/json_simple-r1.jar

No.

>
> after mvn -Prun
>
> and that when you untar it you see
>
> x43543:~/Apache/shindig/trunk ieb$ jar tvf
> java/server/target/shindig-server-1-SNAPSHOT/WEB-INF/lib/json_simple-r1.jar
>     0 Sun Apr 16 13:56:50 BST 2006 META-INF/
>    71 Sun Apr 16 13:56:50 BST 2006 META-INF/MANIFEST.MF
>     0 Sun Apr 16 04:05:08 BST 2006 org/
>     0 Sun Apr 16 04:05:08 BST 2006 org/json/
>     0 Sun Apr 16 04:05:08 BST 2006 org/json/simple/
>     0 Sun Apr 16 04:05:08 BST 2006 org/json/simple/parser/
>  1219 Sun Apr 16 04:05:10 BST 2006 org/json/simple/parser/Yytoken.class
>  8513 Sun Apr 16 04:05:10 BST 2006 org/json/simple/parser/Yylex.class
>  3378 Sun Apr 16 04:05:10 BST 2006 org/json/simple/parser/JSONParser.class
>  2100 Sun Apr 16 13:56:20 BST 2006 org/json/simple/Test.class
>   862 Sun Apr 16 04:05:12 BST 2006 org/json/simple/JSONValue.class
>  2441 Sun Apr 16 11:26:40 BST 2006 org/json/simple/JSONObject.class
>  1166 Sun Apr 16 04:05:12 BST 2006 org/json/simple/JSONArray.class
>  3936 Sun Apr 16 04:05:12 BST 2006 org/json/simple/ItemList.class
> x43543:~/Apache/shindig/trunk ieb$
>
>
> Also,
>
> Do you work behind a proxy or any on any network where to have to
> authenticate on the network using a web browser. (sometimes the jars are
> corrupt and contain HTML if you do)

No.

>
> Ian
>
> On 23 Jul 2008, at 18:32, Ben Laurie wrote:
>
>> Using the Caja sample,
>> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html,
>> gives me this error:
>>
>> HTTP ERROR: 500
>>
>> org/json/simple/JSONValue
>>
>> RequestURI=/gadgets/ifr
>> Caused by:
>>
>> java.lang.NoClassDefFoundError: org/json/simple/JSONValue
>>        at
>> com.google.caja.config.ConfigUtil.loadWhiteListFromJson(ConfigUtil.java:134)
>>        at
>> com.google.caja.lang.css.CssSchema.getDefaultCss21Schema(CssSchema.java:61)
>>        at com.google.caja.plugin.PluginCompiler.(PluginCompiler.java:64)
>>        at
>> com.google.caja.opensocial.DefaultGadgetRewriter.compileGadget(DefaultGadgetRewriter.java:179)
>
>

Reply via email to