You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2019/07/05 18:31:00 UTC

[jira] [Commented] (MCOMPILER-392) Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project jtblts-war: Compilation failure: Compilation failure

    [ https://issues.apache.org/jira/browse/MCOMPILER-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879475#comment-16879475 ] 

Robert Scholte commented on MCOMPILER-392:
------------------------------------------

This message is from javac. It looks like you changed more than just the Java version. For some reason the {{jp.jtb.lts.meta}} package is not on the classpath anymore.

> Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project jtblts-war: Compilation failure: Compilation failure
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-392
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-392
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>            Reporter: Lai
>            Priority: Major
>         Attachments: pom.xml
>
>
> Hello,
> I am currently upgrading from java 7 to 8 but I have the following problem
> {code:java}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project jtblts-war: Compilation failure: Compilation failure:
> [ERROR] /E:/Tools/DEPLOY_HONBAN/longterm/jtblts-war/src/main/java/jp/jtb/lts/dao/AuthorityDao.java:[3,23] package jp.jtb.lts.meta does not exist
> [ERROR] /E:/Tools/DEPLOY_HONBAN/longterm/jtblts-war/src/main/java/jp/jtb/lts/dao/AuthorityDao.java:[13,24] cannot find symbol
> [ERROR] symbol: class AuthorityMeta
> [ERROR] location: class jp.jtb.lts.dao.AuthorityDao
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project jtblts-war: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56){code}
> Can I help with this problem, I tried to find out but couldn't find the results I wanted
> Below is my pom.xml file



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)