Hello, I have an EJB 2.1 project (the relevant POM snippets below). If I want to compile it I get a Build Failure: Compilation failure .. symbol: method lookup(java.lang.String) location: interface javax.ejb.SessionContext
Why ? What is wrong with the POM ? How do I have to reference the J2EE spec correctly ? Thank you very much !!!!! <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>aaa</groupId> <artifactId>bbb</artifactId> <version>1.0-SNAPSHOT</version> <packaging>ejb</packaging> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> <configuration> <generateClient>true</generateClient> </configuration> </plugin> </plugins> </build> <dependencies> ... <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-j2ee_1.4_spec</artifactId> <version>1.1</version> <scope>provided</scope> </dependency> </dependencies> ... </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
