I got this error during Maven compile, but it compiles no problem within my WID 7.0.0.4. The project is depends on ESB server 7.0 libraries. How can I find what's missing and what shall I do? Ask repository manager to add ESB server libraries?
Thanks Jirong [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building CDIPubSubMgmtMed Mediation 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ CDIPubSubMgmtMed --- [INFO] Deleting C:\DEV\WIDWS\MDM\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed [INFO] [INFO] --- build-helper-maven-plugin:1.7:regex-property (regex-property) @ CDIPubSubMgmtMed --- [INFO] Setting property 'portable.artifact.path' to 'C:/DEV/WIDWS/MDM/CDIPubSubMgmtMed/../build/target/CDIPubSubMgmtMed/CDIPubSubMgmtMed-0.0.1-SNAPSHOT.ear'. [INFO] [INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ CDIPubSubMgmtMed --- [INFO] Source directory: C:\DEV\WIDWS\MDM\CDIPubSubMgmtMed\gen\src added. [INFO] [INFO] --- build-helper-maven-plugin:1.7:add-resource (add-resource) @ CDIPubSubMgmtMed --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ CDIPubSubMgmtMed --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\DEV\WIDWS\MDM\CDIPubSubMgmtMed\src\main\resources [INFO] Copying 20 resources [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ CDIPubSubMgmtMed --- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 2 source files to C:\DEV\WIDWS\MDM\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] \DEV\WIDWS\MDM\CDIPubSubMgmtMed\src\main\java\com\nbfg\cdi\pubsub\HeaderUtil.java:[28,33] cannot find symbol symbol : method getRootObject() location: interface com.ibm.websphere.sibx.smobo.ServiceMessageObject [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.984s [INFO] Finished at: Thu Apr 19 12:03:24 EDT 2012 [INFO] Final Memory: 31M/512M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project CDIPubSubMgmtMed: Compilation failure [ERROR] \DEV\WIDWS\MDM\CDIPubSubMgmtMed\src\main\java\com\nbfg\cdi\pubsub\HeaderUtil.java:[28,33] cannot find symbol [ERROR] symbol : method getRootObject() [ERROR] location: interface com.ibm.websphere.sibx.smobo.ServiceMessageObject [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException This is my POM.xml: <?xml version="1.0" encoding="UTF-8"?> <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> <parent> <groupId>com.nbfg.max.maven</groupId> <artifactId>max-wesb-pom</artifactId> <version>0.0.4-SNAPSHOT</version> </parent> <groupId>com.nbfg.max.wesb</groupId> <artifactId>CDIPubSubMgmtMed</artifactId> <version>0.0.1-SNAPSHOT</version> <name>CDIPubSubMgmtMed Mediation</name> <dependencies> <dependency> <groupId>com.nbfg.max.wesb</groupId> <artifactId>ClientServicesBOLib</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> <dependency> <groupId>com.nbfg.max.wesb</groupId> <artifactId>ClientInfoMgmtLib</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> <dependency> <groupId>com.nbfg.max.wesb</groupId> <artifactId>CDIPubSubMgmtLib</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> <dependency> <groupId>com.nbfg.max.wesb</groupId> <artifactId>CDIPubSubMgmtBOLib</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> <dependency> <groupId>com.nbfg.max.wesb</groupId> <artifactId>CDIServiceMgmtLib</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> <dependency> <groupId>com.nbfg.max.wesb</groupId> <artifactId>ClientInfoEventLib</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> </dependencies> </project> -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-failure-interface-com-ibm-websphere-sibx-smobo-ServiceMessageObject-tp5652928p5652928.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
