<artifactId>slf4j-api</artifactId>
</dependency>
+ <!-- Needed for the Spring-Annotations -->
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <optional>true</optional>
+ </dependency>
+
<!-- Testing -->
<dependency>
import java.util.Map;
import java.util.Spliterator;
import java.util.stream.Stream;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
*
* @author kai
*/
+@Component
public class SimpleMapperService extends SimpleMapper
{
- private final JsonFactory factory;
+ @Autowired
+ private JsonFactory factory;
public SimpleMapperService(JsonFactory factory)