incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dingyu Yang (JIRA)" <>
Subject [jira] [Commented] (S4-133) import objenesis can not compile
Date Sat, 27 Apr 2013 08:08:16 GMT


Dingyu Yang  commented on S4-133:

yes, Matthieu,
I am trying to serialize classes without no arg constructors. My app has some classes without
no arg constructors.
Try it again and again, I finally pass the compile with changing the config files (in sub-project
s4-comm: s4-comm.gradle). Not in build.gradle, because I have checked in this files.
and add "compile libraries.objenesis". Compile pass!
Thank you, Matthieu.
> import objenesis can not compile
> --------------------------------
>                 Key: S4-133
>                 URL:
>             Project: Apache S4
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Dingyu Yang 
>            Priority: Critical
>             Fix For: 0.7
> New problem of this objenesis, when I compile the S4 code. I get this error:
> package org.objenesis.strategy does not exist
> import org.objenesis.strategy.StdInstantiatorStrategy;
> ^
> /apache-s4-0.6.0-incubating-src/subprojects/s4-comm/src/main/java/org/apache/s4/comm/serialize/
error: cannot find symbol
> kryo.setInstantiatorStrategy(new StdInstantiatorStrategy());
> ^
> symbol: class StdInstantiatorStrategy
> Then I check the build file and there exist objenesis config.
> and even I add config like this: objenesis: 'org.objenesis.strategy:objenesis:1.2'.
> It still con not pass.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message