I am trying to implement an abstract Java class in Scala and in the eclipse IDE it is not showing errors but, when I try to compile it is throwing an error
The abstract Java class is defined as
package de.hybris.platform.webservices;
import de.hybris.platform.core.model.ItemModel;
public abstract class AbstractCommand<RESOURCE> extends AbstractYResponseBuilder<RESOURCE, Object, Object> implements
Command<RESOURCE, Object, Object>
{
...
}
Code for Scala class is
package com.test.scala.poc.ws
import de.hybris.platform.webservices.AbstractCommand
import de.hybris.platform.core.model.product.ProductModel
class ProductCommand extends AbstractCommand[ProductModel] {
override def execute(resourceModel: ProductModel, requestDTO: Object): ProductModel = null
}
And finally, the damn error message is
object webservices is not a member of package de.hybris.platform
Help resolving this is much appreciated!