Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need.

Scott
On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote:

I am using the 2.9.0-SNAPSHOT.  After building my war, I wish to
precompile all my JSPs for faster response times.  As I understand it,
the weblogic-maven-plugin goal weblogic:appc is what I need to use to do
this.  However, I am getting a no class def found error.  From the
output of my build I get the following lines, edited to remove
non-essential information:



[INFO] Weblogic APPC processing beginning for artifact
c:\projects\trunk\4x\webapps\broker/../../jar/broker.war

[INFO]  Detailed Appc settings information AppcMojo[

 basicClientJar = false

 forceGeneration = true

 keepGenerated = true

 lineNumbers = false

 inputArtifactPath =
c:\projects\trunk\4x\webapps\broker/../../jar/broker.war

 outputArtifactPath = null

 artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...]

 project Packaging = war

 verbose = true]

[INFO] Using Classpath
...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common- SNAPSHOT.ja
r;...

Created working directory:
c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war

[ERROR] Exception encountered during APPC processing

weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException



This error does not show which file is causing the problem, so I ran
java weblogic.appc broker.war from the command line and received this
error:



There are 1 nested errors:



weblogic.servlet.internal.dd.compliance.ComplianceException: The class
"bf.web.c

ommon.ApplicationContextListener" referred by the descriptor element
"listener"

is not found. Please ensure that it is present in the classpath.



However this class is in the common-SNAPSHOT.jar which is inside the
Broker.war in WEB-INF/lib. Am I seeing 2 different errors due to the 2
different commands?  How can I know from the mvn error which file is
causing the problem?



Thanks,



Doug Tanner



********************************************************************** ****************** 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 [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ********************************************************************** *****************

Scott Ryan
CTO Soaring Eagle L.L.C.
Denver, Co. 80129
www.soaringeagleco.com
www.theryansplace.com
(303) 263-3044
[EMAIL PROTECTED]


Reply via email to