Uploaded image for project: 'Apache S4'
  1. Apache S4
  2. S4-133

import objenesis can not compile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.6
    • 0.7
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yangdingyu Dingyu Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: