You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Doug Tanner <do...@benefitfocus.com> on 2007/04/18 21:22:40 UTC

Problem compiling JSPs

I am using the appc goal of the weblogic-maven-plugin on a .war file,
however, I am seeing the following error for every jsp I try to compile:

 

*.jsp:#:#:  Package javelin.jsp contains no member type of this name.

...

*.jsp:#:#:  The qualifier of this name is a package, which cannot
contain methods.

...

 

I believe the problem can be fixed if the *.tld files in the
*.war/WEB-INF folder are available on the classpath, but I am not sure
why they are not seen.  Do I need to add anything to the plugin
configuration?  Here is the plugin, including all the jars that I have
found it needs:

 

            <plugin>

                <groupId>org.codehaus.mojo</groupId>

                <artifactId>weblogic-maven-plugin</artifactId>

                <version>2.9.0-SNAPSHOT</version>

                <configuration>

 
<inputArtifactPath>${basedir}/../../jar/broker.war</inputArtifactPath>

                    <verbose>true</verbose>

                </configuration>

                <executions>

                    <execution>

                        <phase>package</phase>

                        <goals>

                            <goal>appc</goal>

                        </goals>

                    </execution>

                </executions>

                <dependencies>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>xbean</artifactId>

                        <version>9.2.0</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>wlxbean</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

 
<artifactId>weblogic-container-binding</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>wlw-util</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>wlw-langx</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>weblogic</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>com.sun</groupId>

                        <artifactId>tools</artifactId>

                        <version>1.5.0</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>javelin</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>rt</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>bcel</artifactId>

                        <version>5.1</version>

                    </dependency>

                    <dependency>

                        <groupId>junit</groupId>

                        <artifactId>junit</artifactId>

                        <version>4.1</version>

                    </dependency>

                    <dependency>

                        <groupId>weblogic</groupId>

                        <artifactId>weblogic</artifactId>

                        <version>9.2</version>

                    </dependency>

                    <dependency>

                        <groupId>bf.cbm</groupId>

                        <artifactId>cbm-support</artifactId>

                        <version>SNAPSHOT</version>

                    </dependency>

                    <dependency>

                        <groupId>bf.webapps</groupId>

                        <artifactId>common</artifactId>

                        <version>SNAPSHOT</version>

                    </dependency>

                </dependencies>

            </plugin>

 

Has anyone else seen this problem and found a fix?  How can I make sure
that appc knows where to find the .tld files?

 

Thanks,

 

Doug Tanner

Configuration Management Engineer

Benefitfocus.com, Inc.

843-849-7476 ext. 6394

843-849-9485 (Fax)

 



****************************************************************************************
BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to bfpostmaster@benefitfocus.com, and destroy all copies or derivations of the original message. Thank you.  (BFeComNote Rev. 08/01/2005)
***************************************************************************************