Created
July 9, 2014 10:40
-
-
Save lordofthejars/e4d6463cb161e4c90e17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| During the compilation of an ArquillianExtension I am receiving next error from Maven (but not from Eclipse which compiles succesful) | |
| [ERROR] symbol: class AbstractCommand | |
| [ERROR] /home/alex/Downloads/arquillian-mock-server-master/arquillian-mock-server-wiser/src/main/java/org/jboss/arquillian/mockserver/wiser/client/WiserDeployer.java:[45,27] cannot find symbol | |
| [ERROR] symbol: method setResult(org.jboss.arquillian.mockserver.common.api.DeploymentInfo) | |
| [ERROR] location: variable wiserHostPortEvent of type org.jboss.arquillian.mockserver.wiser.api.HostPortCommand | |
| [ERROR] /home/alex/Downloads/arquillian-mock-server-master/arquillian-mock-server-wiser/src/main/java/org/jboss/arquillian/mockserver/wiser/container/WiserResourceTestEnricherByCommand.java:[50,35] method execute in interface org.jboss.arquillian.container.test.spi.command.CommandService cannot be applied to given types; | |
| [ERROR] required: org.jboss.arquillian.container.test.spi.command.Command<T> | |
| [ERROR] found: org.jboss.arquillian.mockserver.wiser.api.HostPortCommand | |
| [ERROR] reason: cannot infer type-variable(s) T | |
| [ERROR] (argument mismatch; org.jboss.arquillian.mockserver.wiser.api.HostPortCommand cannot be converted to org.jboss.arquillian.container.test.spi.command.Command<T>) | |
| [ERROR] -> [Help 1] | |
| It seems that HostPortCommand is not implementing Command but: | |
| import org.jboss.arquillian.container.test.impl.client.deployment.command.AbstractCommand; | |
| import org.jboss.arquillian.mockserver.common.api.DeploymentInfo; | |
| public class HostPortCommand extends AbstractCommand<DeploymentInfo> { | |
| private static final long serialVersionUID = 1L; | |
| } | |
| It implements it, so I am not sure why it compiles in Eclipse but not in Maven nor IntelliJ. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment