dependencies

Android Studio Failed to resolve:com.github.PhilJay:MPAndroidChart:v2.1.3

两盒软妹~` 提交于 2019-12-12 04:25:58
问题 Hi all i am using charts library in my project a month ago it was working fine but now i have reinstalled android studio and when i build my project it gives gradle sync error. Failed to resolve:com.github.PhilJay:MPAndroidChart:v2.1.3 I am stuck on this any suggestions how to solve this.My android studio version is 2.1 Here is project dependencies apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion '23.0.2' defaultConfig { applicationId "com.app.comismv"

NoClassDefFoundError spring boot maven

不羁的心 提交于 2019-12-12 04:17:33
问题 Im programming a REST API with spring boot which uses some external libraries which are included via dependency in my pom.xml. If i start the project in IntelliJ via mvn spring-boot:run everything works just fine but if i try to package everything into a jar via mvn package all external dependecy calsses are missing except the ones of spring-boot. However, the corresponding jarfiles are copied into the lib folder of the jar. So if i Start the jar everything works just fine (answering for

makefile error: /usr/bin/ld: cannot find -llibname and makedepend

送分小仙女□ 提交于 2019-12-12 03:25:46
问题 I am trying to write my own makefile for small project, my project consists of src directory that contains main.c, file1.c, file2.c, header1.h, and finally header2.h these files use some library from non standard libraries directory that I have created and non standard header file, the libraries directory is located in usr/lib/pr__lib and the header directory is located in usr/include/lib so I should create two makefile.am one will be located in src directory and the other one will be in root

Python module from GitHub installed using setup.py can't see own submodules

不羁岁月 提交于 2019-12-12 03:05:36
问题 I downloaded python-somelib-master.zip from GitHub hoping to use the API it provides. I ran python setup.py install And it apparently completed successfully: Writing D:\SOFT\Python3\Lib\site-packages\python-somelib-1.0-py3.5.egg-info which then introduced D:\SOFT\Python3\Lib\site-packages\somelib . However, when I try to import something from there in my script: from somelib import SubModule I get File "D:\SOFT\Python3\lib\site-packages\somelib\__init__.py", line 1, in <module> from base

JAVA/JNI - Load native DLL with circular dependency

蓝咒 提交于 2019-12-12 02:56:35
问题 I try to load c++ code in my java project with JNI. I have many several DLL to load, and unfortunately there is a cyclic dependency between two of them : dll A needs dll B which in turns need dll A ! I know it is a bad programming design to have circular dependencies between DLL, but in my project the c++ code is a black box to me. Is there any way to load DLL with a cyclic dependency ? Thanks for your help. jpsi Details: My code is quite simple: System.loadLibrary("myDLLA"); // needs dll B

Django, recommended way to declare and solve JavaScript dependencies in blocks

和自甴很熟 提交于 2019-12-12 02:53:33
问题 Is there a good, performant and/or recommended way to declare and provide JS dependencies for blocks in Django templates? Basically what I want to do is this: In a Django template file containing a block, declare: I need JS library X to function. In the tag of the page, upon rendering the page, insert a script tag for this library, but never more than once. The reasons: Minimize number of unnecessary JS libraries included in the page to keep load time acceptable in old browsers. (some libs

How to include maven dependency libraries in war file using Ant build

ε祈祈猫儿з 提交于 2019-12-12 02:52:28
问题 I'm trying to include the maven dependencies files while build WAR file through ant. Here is the pom.xml. I've tried multiple solutions including executions etc but nothing works. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>CustomerPortal</groupId> <artifactId>CustomerPortal</artifactId>

Gradle: how do I inject a task dependency into a plugin-defined task?

早过忘川 提交于 2019-12-12 02:49:39
问题 If a plugin defines a series of tasks, is it possible to inject a dependency into these, such that the dependency is called before the plugin-defined task is executed? The native-artifacts plugin defines buildNar (and buildNarxxx, where xxx is the platform config) tasks. It also defines extractNarDepsxxx (where xxx is the platform config for the Nar to be built). extractNarDeps is not called before builder, so the build fails as required dependencies are not downloaded prior to the attempted

I can't work with Maven's dependency in IntelliJ IDEA

时光怂恿深爱的人放手 提交于 2019-12-12 02:25:37
问题 Hi, all! My problem is that I cant't work with Maven's dependency in IntelliJ IDEA (see the picture). What's wrong? This error does not depend on Link library. I tried t odo reimport. It was useless. 回答1: Make sure that Firewall/Any other software is not preventing IntelliJ Idea from connecting to internet. The Dependency is not yet downloaded and installed to the local .m2 repository , so intelliJ needs internet connectivity so that it can download the dependency for the first time! Once

Maven pull dependencies via middle pom file

自古美人都是妖i 提交于 2019-12-12 02:16:23
问题 In Maven is it possible to depend on jar1 and jar2 but establish this dependency via a middle pom file like so: mypom.xml --> middle_pom.xml --> jar1, jar2 Can this be done in that way? Of course the packaging for mypom.xml is whatever I want like 'war' but the packaging for middle_pom.xml would be 'pom', agree? 回答1: As you say, make the packaging for middle_pom pom , then just add a dependency to mypom.xml like so: <dependency> <groupId>com.my.group</groupId> <artifactId>middle_pom<