problem with building artifacts to autodeployment in weblogic

Hi guys,

I'm working on java ee project and I configured run configuration to build artifacts and than deploy them to weblogic. Unfortunately when intellij start building artifacts is unable to find ejb-jar.xml in target folder.
logs :
Information:Internal caches are corrupted or have outdated format, forcing project rebuild: /home/arek/dev/***/integracja.***/integracja.***/***-ejb/target/***-ejb-2.2.2-SNAPSHOT-client.jar/META-INF/ejb-jar.xml (Not a directory)
Information:Using javac 1.8.0_65 to compile java sources
Information:java: Hibernate JPA 2 Static-Metamodel Generator 1.2.0.Final
Information:05.01.16 11:42 - Compilation completed with 1 error and 2 warnings in 5s 391ms
Error:Internal error: ( /home/arek/dev/***/integracja.***/integracja.***/***-ejb/target/***-ejb-2.2.2-SNAPSHOT-client.jar/META-INF/ejb-jar.xml (Not a directory) /home/arek/dev/***/integracja.***/integracja.cbe/***-ejb/target/***-ejb-2.2.2-SNAPSHOT-client.jar/META-INF/ejb-jar.xml (Not a directory)
 at Method)
 at org.jetbrains.jps.incremental.artifacts.instructions.FilterCopyHandler.copyFile(
 at org.jetbrains.jps.incremental.artifacts.instructions.FileBasedArtifactRootDescriptor.copyFromRoot(
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildTarget(
 at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(
 at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(
 at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(
 at org.jetbrains.jps.cmdline.BuildRunner.runBuild(
 at org.jetbrains.jps.cmdline.BuildSession.runBuild(
 at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$
 at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$
 at java.util.concurrent.Executors$
 at java.util.concurrent.ThreadPoolExecutor.runWorker(
 at java.util.concurrent.ThreadPoolExecutor$
Please perform full project rebuild (Build | Rebuild Project)

In run configuration is warning "WebLogic EJB Module Deployment Descriptor" and when I tried to resolving a problem I found already defined EJB descriptor and added WebLogic EJB Module Deployment Descriptor but I have the same exception.
I don't understant why intellij trying to find ejb-jar.xml infolder with jar file and where I can find configuration to change it.

Best Regards

1 comment
Comment actions Permalink
Unable to reproduce.
Please provide a minimal test project with the issue reproducable or at least the screenshot of you artifact structure (in the Project Structure dialog).

Please sign in to leave a comment.