I download Weasis code and run it on Eclipse using maven.
Now I create a new class that use JMF so I want to add jmf.jar.
I follow the answers from here but I take the follow
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project weasis-base-ui: Compilation failure: Compilation failure:
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[14,19] package javax.media does not exist
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[15,19] package javax.media does not exist
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[16,19] package javax.media does not exist
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[17,19] package javax.media does not exist
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[18,27] package javax.media.control does not exist
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[19,26] package javax.media.format does not exist
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[20,24] package javax.media.util does not exist
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[33,26] cannot find symbol
[ERROR] symbol: class Player
[ERROR] location: class org.weasis.base.ui.gui.WeasisVideo
[ERROR] /C:/Users/Ioanna/git/Weasis/weasis-base/weasis-base-ui/src/main/java/org/weasis/base/ui/gui/WeasisVideo.java:[36,12] cannot find symbol
[ERROR] symbol: class Buffer
Do anyone know what is the problem. The class file that I used the jmf function doesn't appears errors.
Related
I run maven using mvn clean verify -U -e -DskipITs=true
and get the following compilation error. When I run with the debug option -X it points me to the https://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException but I cannot find the underling problem.
These packages are part of the magnolia-pages-app-5.6.4.jar with is
in my .m2 directory under
/Users/asusti/.m2/repository/info/magnolia/pages/magnolia-pages-app/5.6.4/magnolia-pages-app-5.6.4.jar
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/asusti/Projects/xxx-wcms/xxx-module-versioning/src/main/java/ch/xxx/module/versioning/VersionSelector.java:[5,38] package info.magnolia.pages.app.editor does not exist
[ERROR] /Users/asusti/Projects/xxx-wcms/xxx-module-versioning/src/main/java/ch/xxx/module/versioning/VersionSelector.java:[6,48] package info.magnolia.pages.app.editor.extension does not exist
[ERROR] /Users/asusti/Projects/xxx-wcms/xxx-module-versioning/src/main/java/ch/xxx/module/versioning/VersionSelector.java:[12,38] cannot find symbol
symbol: class AbstractExtension
[ERROR] /Users/asusti/Projects/xxx-wcms/xxx-module-versioning/src/main/java/ch/xxx/module/versioning/VersionSelector.java:[15,17] cannot find symbol
symbol: class PageEditorPresenter
location: class ch.xxx.module.versioning.VersionSelector
[ERROR] /Users/asusti/Projects/xxx-wcms/xxx-module-versioning/src/main/java/ch/xxx/module/versioning/VersionSelector.java:[18,83] cannot find symbol
symbol: class PageEditorPresenter
location: class ch.xxx.module.versioning.VersionSelector
I added this into my module's pom file and after that maven worked:
<!-- magnolia pages extensions for pagebar functionality -->
<dependency>
<groupId>info.magnolia.pages</groupId>
<artifactId>magnolia-pages-app</artifactId>
<version>5.6.4</version>
</dependency>
I am getting below error while trying to build war file with maven build.
[ERROR] /C:/Users/skarakka/Documents/Eworkspace/cim/src/main/java/com/ui/servicewrappers/db/DBConnectionHandler.java:[6,39] cannot find symbol
symbol: class HttpTransportProperties
location: package org.apache.axis2.transport.http
[ERROR] /C:/Users/skarakka/Documents/Eworkspace/cim/src/main/java/com/dnb/applications/webservice/schema/DnBAPI13Stub.java:[265068,48]
package org.apache.axis2.databinding does not exist
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cim: Compilation failure: Compilation failure: /C:/Users/skar/Documents/Eworkspace/cim/src/main/java/com/cim/customui/servicewrappers/dnb/DBConnectionHandler.java:[6,39] cannot find symbol [ERROR] symbol: class HttpTransportProperties [ERROR] location: package org.apache.axis2.transport.http [/C:/Users/skarDocuments/Eworkspace/cim/src/main/java/com/db/applications/webservice/schema/DBAPI13Stub.java:[265068,48] package org.apache.axis2.databinding does not exist
After adding "axis2-adb" dependency in POM.XML fixed issue.
ERROR] COMPILATION ERROR : [INFO]
------------------------------------------------------------- [ERROR] /C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[19,18]
package org.testng does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[20,18]
package org.testng does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[21,30]
package org.testng.annotations does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[22,30]
package org.testng.annotations does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[23,30]
package org.testng.annotations does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[24,30]
package org.testng.annotations does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[25,39]
package com.relevantcodes.extentreports does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[26,39]
package com.relevantcodes.extentreports does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[27,39]
package com.relevantcodes.extentreports does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[35,9]
cannot find symbol symbol: class ExtentReports location: class
webAutoTest.CitrussTV.UAEArabicCODClass [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[36,9]
cannot find symbol symbol: class ExtentTest location: class
webAutoTest.CitrussTV.UAEArabicCODClass [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/SendEMailcitruss.java:[5,1]
package javax.mail does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/SendEMailcitruss.java:[6,1]
package javax.mail.internet does not exist [ERROR]
/C:/Users/PoojaPatange/eclipse-workspacepractice/webAutoTest/src/main/java/webAutoTest/CitrussTV/UAEArabicCODClass.java:[317,31]
cannot find symbol symbol: class ITestResult location: class
webAutoTest.CitrussTV.UAEArabicCODClassenter image description here
Install TestNG in eclipse as below:
Eclipse --> Help --> Eclipse Marketplace
Search TestNG --> Search result shows "TestNG for Eclipse"
Install
After the installation, try to import as below:
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
It should work fine without any compilation errors
I added a project A into the build path of another project B so that I could use some of the Objects present in project A. I compiled Project B using Clean Build in Eclipse but while running maven install I get `COMPILATION ERROR'.In some of the answers I found that Maven doesn't know about the build path if this is the case then how can I get rid of this issue. It complaints for the Class which is in project A and I am using it in Project B.
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryinsurance/esignature/integration/dao/uiintegration/IUiIntegrationDao.java:[7,63] package com.mercuryinsurance.esignature.integration.interceptor does not exist
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryinsurance/esignature/integration/dao/uiintegration/IUiIntegrationDao.java:[33,59] cannot find symbol
symbol: class ESignatureIntegrationConfig
location: interface com.mercuryinsurance.esignature.integration.dao.uiintegration.IUiIntegrationDao
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryinsurance/esignature/integration/manager/uiintegration/IUiIntegrationManager.java:[12,63] package com.mercuryinsurance.esignature.integration.interceptor does not exist
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryinsurance/esignature/integration/manager/uiintegration/IUiIntegrationManager.java:[44,61] cannot find symbol
symbol: class ESignatureIntegrationConfig
location: interface com.mercuryinsurance.esignature.integration.manager.uiintegration.IUiIntegrationManager
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryinsurance/esignature/integration/manager/uiintegration/UiIntegrationManager.java:[41,63] package com.mercuryinsurance.esignature.integration.interceptor does not exist
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryinsurance/esignature/integration/manager/uiintegration/UiIntegrationManager.java:[220,68] cannot find symbol
symbol: class ESignatureIntegrationConfig
location: class com.mercuryinsurance.esignature.integration.manager.uiintegration.UiIntegrationManager
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryin surance/esignature/integration/dao/uiintegration/UiIntegrationDao.java:[15,63] package com.mercuryinsurance.esignature.integration.interceptor does not exist
[ERROR] /C:/ClearCase/ssadat_ESign1_Dev01/MercGlobal/ESign1/ESignature/src/com/mercuryin surance/esignature/integration/dao/uiintegration/UiIntegrationDao.java:[86,72] cannot find symbol
symbol: class ESignatureIntegrationConfig
location: class com.mercuryinsurance.esignature.integration.dao.uiintegration.UiIntegrationDao
i have compiled project nd4j, Canova and deeplearning4j successfully but errors occur while compiling dl4j-0.0.3.3-examples, the following are the errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project deeplearning4j-examples: Compilation failure: Compilation failure:
[ERROR] /home/luolianhai/dl4j-0.0.3.3-examples/src/main/java/org/deeplearning4j/deepbelief/DBNIrisExample.java:[22,49] cannot find symbol
[ERROR] symbol: class GradientPlotterIterationListener
[ERROR] location: package org.deeplearning4j.plot.iterationlistener
[ERROR] /home/luolianhai/dl4j-0.0.3.3-examples/src/main/java/org/deeplearning4j/deepbelief/DBNIrisExample.java:[23,49] cannot find symbol
[ERROR] symbol: class LossPlotterIterationListener
[ERROR] location: package org.deeplearning4j.plot.iterationlistener
You're missing some library (dependency) in the build configuration or skipping a package. Check if the library or package of GradientPlotterIterationListener is being included/excluded in the build configuration.