[ 
https://issues.apache.org/jira/browse/S4-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643594#comment-13643594
 ] 

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: https://issues.apache.org/jira/browse/S4-133
>             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/KryoSerDeser.java:63:
>  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: http://www.atlassian.com/software/jira

Reply via email to