Articles

Affichage des articles du juin, 2016

jfxrt.jar

org.javafxports\dalvik-sdk\8.60.6\7c3edaf775f14e87961b9fc15325f64eeb8583bd\unpacked\dalvik-sdk\rt\lib\ext\jfxrt.jar

jfxmobile.plugin.android.task.AndroidTask

No such property: manifest for class: org.javafxports.jfxmobile.plugin.android.task.AndroidTask_Decorated Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

MultiViewProject:unspecified

Could not find any version that matches com.android.support:appcompat-v7:18.0.+. Searched in the following locations:     https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml     http://nexus.gluonhq.com/nexus/content/repositories/releases/com/android/support/appcompat-v7/maven-metadata.xml     http://nexus.gluonhq.com/nexus/content/repositories/releases/com/android/support/appcompat-v7/ Required by:     :MultiViewProject:unspecified Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

Cannot expand ZIP

Cannot expand ZIP 'C:\android\sdk\extras\android\support\multidex\library\libs\android-support-multidex.jar' as it does not exist. Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

Configured compileSdkVersion is invalid

Configured compileSdkVersion is invalid: 21 (C:/android/sdk/platforms/android-21 Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

ANDROID_HOME not specified. Either set it as a gradle property

ANDROID_HOME not specified. Either set it as a gradle property, a system environment variable or directly in your build.gradle by setting the extension jfxmobile.android.androidSdk. Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

MultiViewProject:unspecified

Could not find mysql:mysql-connector-java-5.1.39-bin.jar:. Searched in the following locations:     https://jcenter.bintray.com/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.pom     https://jcenter.bintray.com/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.jar     http://nexus.gluonhq.com/nexus/content/repositories/releases/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.pom     http://nexus.gluonhq.com/nexus/content/repositories/releases/mysql/mysql-connector-java-5.1.39-bin.jar//mysql-connector-java-5.1.39-bin.jar-.jar Required by:     :MultiViewProject:unspecified Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'. add compile 'mysql:mysql-connector-java:3.1.12' to build.garde

Cannot find System Java Compiler

Image
Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory. Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'. TO FIX IT :

java.lang.NullPointerException

java.lang.NullPointerException at priceSuit.MyTawfik.getListDynamique(MyTawfik.java:601) at priceSuit.report.WelcomeRaportController.chargeAllBd(WelcomeRaportController.java:1058) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1771) at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657) at com.sun.javafx.event.Composite...

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at priceSuit.CenterSearch.CenterSearchController.itemStatus(CenterSearchController.java:1671) at priceSuit.CenterSearch.CenterSearchController.setRegion(CenterSearchController.java:1655) at priceSuit.CenterSearch.CenterSearchController.initialize(CenterSearchController.java:667) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at sun...

The difference between () and ()

Spring allows you to do two things: Autowiring of beans Autodiscovery of beans 1. Autowiring Usually in  applicationContext.xml  you define beans and other beans are wired using constructor or setter methods. You can wire beans using XML or annotations. In case you use annotations, you need to activate annotations and you have to add  <context:annotation-config />  in applicationContext.xml . This will simplify the structure of the tag from  applicationContext.xml , because you will not have to manually wire beans (constructor or setter). You can use  @Autowire  annotation and the beans will be wired by type. A step forward for escaping the manual XML configuration is 2. Autodiscovery Autodiscovery is simplifying the XML one step further, in the sense that you don't even need too add the  <bean>  tag in  applicationContext.xml . You just mark the specific beans with one of the following annotation and Spring will ...