I am getting this error, any idea what the cause is ? [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionHome.java(5): CHKJ2907E: Type ejbs.DefaultSessionHome, or one of its supertypes, cannot be reflected. Check the classpath. [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionBean.java(5): CHKJ2907E: Type ejbs.DefaultSessionBean, or one of its supertypes, cannot be reflected. Check the classpath. [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSession.java(5): CHKJ2907E: Type ejbs.DefaultSession, or one of its supertypes, cannot be reflected. Check the classpath. [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: DefaultSession): CHKJ2802E: <ejb-class> class ejbs.DefaultSessionBean, or one of its supertypes, cannot be reflected. Check the classpath. [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: DefaultSession): CHKJ2803E: <home> interface ejbs.DefaultSessionHome, or one of its supertypes, cannot be reflected. Check the classpath. [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise bean: DefaultSession): CHKJ2804E: <remote> interface ejbs.DefaultSession, or one of its supertypes, cannot be reflected. Check the classpath.
-----Original Message----- From: Marcel Schutte [mailto:[EMAIL PROTECTED] Sent: Thu 1/19/2006 10:32 AM To: Maven Users List Subject: Re: [m2] Generating was5 ejb code ? This works for me, but a real plugin would be nicer: In my pom.xml: <plugin> <artifactId>maven-ejb-plugin</artifactId> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> <generateClient>true</generateClient> <clientExcludes> <clientExclude>**/persist/</clientExclude> <clientExclude>**/*Bean.class</clientExclude> </clientExcludes> </configuration> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>deploycode</id> <phase>package</phase> <configuration> <tasks> <taskdef name="wasEjbDeploy" classname="com.ibm.websphere.ant.tasks.WsEjbDeploy" classpath="${was.home}/lib/wsanttasks.jar" /> <wasEjbDeploy inputJar="${project.build.directory}/${project.build.finalName}.jar" workingDirectory="${project.build.directory}/temp" outputJar="${project.build.directory}/${project.build.finalName}.was5.jar" washome="${was.home}" trace="true" quiet="false" /> <!-- generated jar replaces the original --> <move file="${project.build.directory}/${project.build.finalName}.was5.jar" tofile="${project.build.directory}/${project.build.finalName}.jar"/> <!-- add deploy code to the client jar --> <zip destfile="${project.build.directory}/${project.build.finalName}-client.jar" update="true"> <zipfileset src="${project.build.directory}/${project.build.finalName}.jar"> <include name="org/omg/stub/"/> <include name="com/ibm/"/> <include name="**/_*.class"/> <include name="**/EJS*.class"/> </zipfileset> </zip> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> and the was.home property is specified in a profile in settings.xml: <properties> <was.home>C:/Program Files/IBM/WebSphere 5.0</was.home> </properties> Regards, Marcel --- Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > > How would i go go about generating was5 ejb code using Maven2 as > there is no plugin support for M2 and only for M1 ? > > > DISCLAIMER: > This message may contain information which is confidential, private > or privileged in nature. If you are not the intended recipient, you > may not peruse, use, disseminate, distribute or copy this message or > file which is attached to this message. If you have received this > message in error, please notify the sender immediately by e-mail, > facsimile or telephone and thereafter return and/or destroy the > original message. > > Any views of this communication are those of the sender except where > the sender specifically states them to be those of Faritec (Holdings) > Limited (Faritec) and/or any of its subsidiaries including (but not > limited to) Faritec Enterprise Solutions (Proprietary) Limited, > Faritec Strategic IT Services (Proprietary) Limited, Faritec > Contracting (Proprietary) Limited, Ebis and/or any of its > subsidiaries. > > Please note that the recipient must scan this e-mail and any attached > files for viruses and the like. While we do everything possible to > protect information from viruses, Faritec accepts no liability of > whatever nature for any loss, liability, damage or expense resulting > directly or indirectly from the access and/or downloading of any > files which are attached to this e-mail message. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. Any views of this communication are those of the sender except where the sender specifically states them to be those of Faritec (Holdings) Limited (Faritec) and/or any of its subsidiaries including (but not limited to) Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited, Ebis and/or any of its subsidiaries. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. While we do everything possible to protect information from viruses, Faritec accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access and/or downloading of any files which are attached to this e-mail message.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
