HOWTO
See also
- Building Jakarta EE Projects for WebLogic Server 15.1.1 with Mavenhttps://danielveselka.blogspot.com/2026/04/building-jakarta-ee-projects-for.html
- Using Maven with Weblogic 12.1.2 https://danielveselka.blogspot.com/2016/01/using-maven-on-weblogic-1221-with-java.html
Github
- Weblgoic 26.1.0 https://github.com/dveselka/weblogic/tree/master/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project
- Weblogic 14.1.2 generated code https://github.com/dveselka/weblogic/tree/master/sample-javaee/14.1.2/
- Weblogic 14.1.1 generated code https://github.com/dveselka/weblogic/tree/master/sample-javaee/14.1.1/dave-basic-project
Install Maven plugin
1015 mvn install:install-file -DpomFile=oracle-maven-sync-26.1.0.pom -Dfile=oracle-maven-sync-26.1.0.jar
1016 mvn com.oracle.maven:oracle-maven-sync:push -DoracleHome=/app/weblogic-26.1.0
1017 mvn help:describe -DgroupId=com.oracle.weblogic
1018 -DartifactId=weblogic-maven-plugin -Dversion=26.1.0-0-0
Requires switch to Jakarta annotations
import java.text.NumberFormat;
import jakarta.interceptor.Interceptor;
import jakarta.interceptor.AroundInvoke;
import jakarta.interceptor.InvocationContext;
Compilation errors with upgrade to Jakarta 11
[ERROR] Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 1 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
[ERROR] Target state: deploy failed on Server AdminServer
[ERROR] weblogic.management.DeploymentException: CDI deployment failure:Unable to parse persistence descriptor zip:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/lib/_wl_cls_gen.jar!/META-INF/persistence.xml.:com.ctc.wstx.exc.WstxParsingException:Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
[ERROR] at [row,col {unknown-source}]: [3,5]
[ERROR]
[ERROR]
[ERROR]
[ERROR] at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:634)
[ERROR] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:142)
[ERROR] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:90)
[ERROR] at weblogic.utils.compiler.Tool.run(Tool.java:159)
[ERROR] at weblogic.utils.compiler.Tool.run(Tool.java:116)
[ERROR] at weblogic.Deployer.run(Deployer.java:74)
[ERROR] ... 27 more
[ERROR]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.oracle.weblogic:weblogic-maven-plugin:26.1.0-0-0:deploy (default) on project dave-basic-webapp-ejb-project: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 1 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Target state: deploy failed on Server AdminServer
weblogic.management.DeploymentException: CDI deployment failure:Unable to parse persistence descriptor zip:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/lib/_wl_cls_gen.jar!/META-INF/persistence.xml.:com.ctc.wstx.exc.WstxParsingException:Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [3,5]
at weblogic.Deployer.run(Deployer.java:76)
at weblogic.Deployer.mainWithExceptions(Deployer.java:63)
at weblogic.tools.maven.plugins.deploy.DeployMojo.execute(DeployMojo.java:335)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:362)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 1 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Target state: deploy failed on Server AdminServer
weblogic.management.DeploymentException: CDI deployment failure:Unable to parse persistence descriptor zip:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/lib/_wl_cls_gen.jar!/META-INF/persistence.xml.:com.ctc.wstx.exc.WstxParsingException:Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [3,5]
at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:634)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:142)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:90)
at weblogic.utils.compiler.Tool.run(Tool.java:159)
at weblogic.utils.compiler.Tool.run(Tool.java:116)
at weblogic.Deployer.run(Deployer.java:74)
... 27 more
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke (Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:362)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.MojoExecutionException: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 1 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Target state: deploy failed on Server AdminServer
weblogic.management.DeploymentException: CDI deployment failure:Unable to parse persistence descriptor zip:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/lib/_wl_cls_gen.jar!/META-INF/persistence.xml.:com.ctc.wstx.exc.WstxParsingException:Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [3,5]
[ERROR]
[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/MojoExecutionException
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ mvn -e clean install pre-integration-test
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< dave:dave-basic-webapp-ejb-project >-----------------
[INFO] Building basicWebappEjb 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ dave-basic-webapp-ejb-project ---
[INFO] Deleting /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ dave-basic-webapp-ejb-project ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:2.3.2:compile (default-compile) @ dave-basic-webapp-ejb-project ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 12 source files to /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: invalid target release: 25
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.145 s
[INFO] Finished at: 2026-11-22T13:43:26+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project dave-basic-webapp-ejb-project: Compilation failure
[ERROR] error: invalid target release: 25
[ERROR]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project dave-basic-webapp-ejb-project: Compilation failure
error: invalid target release: 25
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke (Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:362)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
error: invalid target release: 25
at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:656)
at org.apache.maven.plugin.CompilerMojo.execute (CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke (Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:362)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[ERROR]
[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
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ java -version
java version "21.0.12.1" 2026-08-18 LTS
Java(TM) SE Runtime Environment (build 21.0.12.1+1-LTS-4)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.12.1+1-LTS-4, mixed mode, sharing)
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ ls /usr/java/jdk-2
jdk-21/ jdk-21-oracle-x64/ jdk-25/ jdk-25-oracle-x64/
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ ls /usr/java/jdk-2
jdk-21/ jdk-21-oracle-x64/ jdk-25/ jdk-25-oracle-x64/
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ ls /usr/java/jdk-25
jdk-25/ jdk-25-oracle-x64/
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ ls /usr/java/jdk-25
jdk-25/ jdk-25-oracle-x64/
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ ls /usr/java/jdk-25
bin conf include jmods legal lib LICENSE man README release
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ ^C
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ java -version
java version "21.0.12.1" 2026-08-18 LTS
Java(TM) SE Runtime Environment (build 21.0.12.1+1-LTS-4)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.12.1+1-LTS-4, mixed mode, sharing)
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ source ~/.b
.bash_history .bash_history-04674.tmp .bash_history-05560.tmp .bash_logout .bashrc
.bash_history-04076.tmp .bash_history-05518.tmp .bash_history-05955.tmp .bash_profile .boto
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ source ~/.bashrc
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ java -version
java version "21.0.12.1" 2026-08-18 LTS
Java(TM) SE Runtime Environment (build 21.0.12.1+1-LTS-4)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.12.1+1-LTS-4, mixed mode, sharing)
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ source ~/.bash_profile
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ java -version
java version "25.0.5.1" 2026-11-17 LTS
Java(TM) SE Runtime Environment (build 25.0.5.1+4-LTS-20)
Java HotSpot(TM) 64-Bit Server VM (build 25.0.5.1+4-LTS-20, mixed mode, sharing)
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ vi ~/.bashrc
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$ mvn -e clean install pre-integration-test
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::staticFieldBase has been called by com.google.inject.internal.aop.HiddenClassDefiner (file:/usr/share/maven/lib/guice-5.1.0-classes.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.inject.internal.aop.HiddenClassDefiner
WARNING: sun.misc.Unsafe::staticFieldBase will be removed in a future release
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< dave:dave-basic-webapp-ejb-project >-----------------
[INFO] Building basicWebappEjb 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ dave-basic-webapp-ejb-project ---
[INFO] Deleting /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ dave-basic-webapp-ejb-project ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:2.3.2:compile (default-compile) @ dave-basic-webapp-ejb-project ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 12 source files to /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/classes
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ dave-basic-webapp-ejb-project ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/src/test/resources
[INFO]
[INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ dave-basic-webapp-ejb-project ---
[INFO] No sources to compile
[INFO]
[INFO] --- surefire:3.2.5:test (default-test) @ dave-basic-webapp-ejb-project ---
[INFO] No tests to run.
[INFO]
[INFO] --- war:3.3.1:war (default-war) @ dave-basic-webapp-ejb-project ---
[INFO] Packaging webapp
[INFO] Assembling webapp [dave-basic-webapp-ejb-project] in [/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb]
[INFO] Processing war project
[INFO] Copying webapp resources [/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/src/main/webapp]
[INFO] Building war: /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war
[INFO]
[INFO] --- weblogic:26.1.0-0-0:deploy (default) @ dave-basic-webapp-ejb-project ---
[INFO] Command flags are: -noexit -deploy -username weblogic -password ******* -name basicWebappEjb -source /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war -verbose -adminurl t3://127.0.0.1:7001
weblogic.Deployer invoked with options: -noexit -deploy -username weblogic -name basicWebappEjb -source /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war -verbose -adminurl t3://127.0.0.1:7001
<Nov 22, 2026, 1:48:16 PM Central European Standard Time> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, basicWebappEjb [archive: /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war], to configured targets.>
Task 2 initiated: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Task 2 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Target state: deploy failed on Server AdminServer
weblogic.management.DeploymentException: CDI deployment failure:Unable to parse persistence descriptor zip:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/lib/_wl_cls_gen.jar!/META-INF/persistence.xml.:com.ctc.wstx.exc.WstxParsingException:Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [3,5]
[INFO] --- war:3.3.1:war (default-war) @ dave-basic-webapp-ejb-project ---
[INFO] Packaging webapp
[INFO] Assembling webapp [dave-basic-webapp-ejb-project] in [/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb]
[INFO] Processing war project
[INFO] Copying webapp resources [/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/src/main/webapp]
[INFO] Building war: /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war
[INFO]
[INFO] --- weblogic:26.1.0-0-0:deploy (default) @ dave-basic-webapp-ejb-project ---
[INFO] Command flags are: -noexit -deploy -username weblogic -password ******* -name basicWebappEjb -source /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war -verbose -adminurl t3://127.0.0.1:7001
weblogic.Deployer invoked with options: -noexit -deploy -username weblogic -name basicWebappEjb -source /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war -verbose -adminurl t3://127.0.0.1:7001
<Nov 22, 2026, 1:49:35 PM Central European Standard Time> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, basicWebappEjb [archive: /git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project/target/basicWebappEjb.war], to configured targets.>
Task 3 initiated: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Task 3 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Target state: deploy failed on Server AdminServer
weblogic.management.DeploymentException: CDI deployment failure:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive:org.jboss.weld.exceptions.DeploymentException:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive
Target Assignments:
+ basicWebappEjb AdminServer
weblogic.deploy.api.tools.deployer.DeployerException: Task 3 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
Target state: deploy failed on Server AdminServer
weblogic.management.DeploymentException: CDI deployment failure:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive:org.jboss.weld.exceptions.DeploymentException:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive
at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:634)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:142)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:90)
at weblogic.utils.compiler.Tool.run(Tool.java:159)
at weblogic.utils.compiler.Tool.run(Tool.java:116)
at weblogic.Deployer.run(Deployer.java:74)
at weblogic.Deployer.mainWithExceptions(Deployer.java:63)
at weblogic.tools.maven.plugins.deploy.DeployMojo.execute(DeployMojo.java:335)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:362)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.870 s
[INFO] Finished at: 2026-11-22T13:49:36+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.oracle.weblogic:weblogic-maven-plugin:26.1.0-0-0:deploy (default) on project dave-basic-webapp-ejb-project: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 3 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
[ERROR] Target state: deploy failed on Server AdminServer
[ERROR] weblogic.management.DeploymentException: CDI deployment failure:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive:org.jboss.weld.exceptions.DeploymentException:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive
[ERROR]
[ERROR]
[ERROR]
[ERROR] at weblogic.Deployer.run(Deployer.java:76)
[ERROR] at weblogic.Deployer.mainWithExceptions(Deployer.java:63)
[ERROR] at weblogic.tools.maven.plugins.deploy.DeployMojo.execute(DeployMojo.java:335)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
[ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
[ERROR] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:362)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
[ERROR] Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 3 failed: [Deployer:149026]deploy application basicWebappEjb on AdminServer.
[ERROR] Target state: deploy failed on Server AdminServer
[ERROR] weblogic.management.DeploymentException: CDI deployment failure:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive:org.jboss.weld.exceptions.DeploymentException:WELD-001417: Enabled interceptor class dave.interceptor.LogInterceptor (<{http://java.sun.com/xml/ns/javaee}class>dave.interceptor.LogInterceptor</{http://java.sun.com/xml/ns/javaee}class> in file:/home/app/domains/base_domain_26.1/servers/AdminServer/tmp/_WL_user/basicWebappEjb/td0sdo/war/WEB-INF/beans.xml@6) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive
[ERROR]
[ERROR]
[ERROR]
[ERROR] at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:634)
[ERROR] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:142)
[ERROR] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:90)
[ERROR] at weblogic.utils.compiler.Tool.run(Tool.java:159)
[ERROR] at weblogic.utils.compiler.Tool.run(Tool.java:116)
[ERROR] at weblogic.Deployer.run(Deployer.java:74)
[ERROR] ... 27 more
[ERROR]
[ERROR]
[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/MojoExecutionException
dave@dave:/git/weblogic/sample-javaee/26.1.0/dave-basic-project-26.1.0/dave-basic-webapp-ejb-project$
Runtime errors
jakarta.el.PropertyNotFoundException: /index.xhtml @26,149 value="#{accountBean.name}": Target Unreachable, identifier 'accountBean' resolved to null
at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:64)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:87)
at jakarta.faces.component.UIInput.getConvertedValue(UIInput.java:929)
at jakarta.faces.component.UIInput.validate(UIInput.java:838)
at jakarta.faces.component.UIInput.executeValidate(UIInput.java:1121)
at jakarta.faces.component.UIInput.processValidators(UIInput.java:608)
at jakarta.faces.component.UIForm.processValidators(UIForm.java:221)
at jakarta.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1067)
at jakarta.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1269)
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:49)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:131)
at jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:689)
at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:87)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:53)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:87)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3979)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3933)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:198)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:69)
at weblogic.servlet.internal.WebAppServletContext.processSecuredExecute(WebAppServletContext.java:2581)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2420)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2395)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2373)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1954)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1896)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:286)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:60)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:717)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:449)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:389)
Caused by: jakarta.el.PropertyNotFoundException: Target Unreachable, identifier 'accountBean' resolved to null
at org.glassfish.expressly.parser.AstValue.getTarget(AstValue.java:338)
at org.glassfish.expressly.parser.AstValue.getType(AstValue.java:112)
at org.glassfish.expressly.ValueExpressionImpl.getType(ValueExpressionImpl.java:124)
at org.jboss.weld.module.web.el.WeldValueExpression.getType(WeldValueExpression.java:93)
at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)



