Re: [Xbrlapi-developer] Trouble compiling
Brought to you by:
shuetrim
From: Geoff S. <ge...@ga...> - 2016-03-04 03:18:00
|
Hi Justin, When running DOMLoadingTestCase, you need to have the XDT module jar file as well as the core XBRLAPI module jar file in the classpath. You should just be able to download both of them from Sourceforge. Geoff S On 4 March 2016 at 13:45, Justin Lottes <jus...@gm...> wrote: > Hello. I've downloaded the source, installed all the dependencies and > updated the test.configuration.properties file. > > I'm brand new to Maven (which may be my problem), so forgive me > ignorance. The error is occuring in the file > > - > C:\Users\Justin\Documents\NetBeansProjects\xbrlapi-source\xbrlapi-org_xbrlapi\org.xbrlapi\module-api\src\main\java\org\xbrlapi\DOMLoadingTestCase.java > > It's complaining about line 12, which is an import for > org.xbrlapi.xdt.LoaderImpl, which is XBRLAPI XDT implementation. I tried > making the API dependent on XDT Implementation, however, XDT Implementation > is already dependent on API, which created a cyclic dependency, and maven > yelled at me. Not sure what I'm doing wrong, any help would be appreciated. > > I've pasted the error message below... > > Thanks, > > Justin > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > (default-compile) on project xbrlapi-api: Compilation failure: Compilation > failure: > [ERROR] > /C:/Users/Justin/Documents/xbrlapi-org_xbrlapi-d772f1fc4fa4e6663e01a2e700066f5c8043bf96/org.xbrlapi/module-api/src/main/java/org/xbrlapi/DOMLoadingTestCase.java:[12,23] > package org.xbrlapi.xdt does not exist > [ERROR] > /C:/Users/Justin/Documents/xbrlapi-org_xbrlapi-d772f1fc4fa4e6663e01a2e700066f5c8043bf96/org.xbrlapi/module-api/src/main/java/org/xbrlapi/DOMLoadingTestCase.java:[51,30] > cannot find symbol > [ERROR] symbol: class LoaderImpl > [ERROR] location: class org.xbrlapi.DOMLoadingTestCase > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [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 > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :xbrlapi-api > > > C:\Users\Justin\Documents\xbrlapi-org_xbrlapi-d772f1fc4fa4e6663e01a2e700066f5c8043bf96\org.xbrlapi> > > -- > This e-mail message is confidential, intended for the recipient(s) named > above and may contain information that is privileged, exempt from > disclosure under applicable law. If you are not the intended recipient, do > not disclose or disseminate this message to anyone except the intended > recipient. If you have received this message in error, or are not the > named recipient(s), please immediately notify the sender by return e-mail, > and delete all copies of this message. > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Xbrlapi-developer mailing list > Xbr...@li... > https://lists.sourceforge.net/lists/listinfo/xbrlapi-developer > > |