incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-133) import objenesis can not compile
Date Fri, 26 Apr 2013 13:12:17 GMT

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

Matthieu Morel commented on S4-133:
-----------------------------------

So what are you trying to do? use objenesis to serialize classes without no arg constructors?
For checkpointing or event passing?

Anyway this compilation error indicates a missing dependency. Try to add objenesis as a compile
time dependency (it's specified as runtime dependency in build.gradle)
                
> 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

Mime
View raw message