Articles

Affichage des articles du mars, 2018

odules:ty:compileJavaWARNING

modules:ty:compileJava WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by worker.org.gradle.internal.reflect.JavaMethod (file:/Users/---/.gradle/caches/3.0/workerMain/gradle-worker.jar) to method java.lang.ClassLoader.getPackages() WARNING: Please consider reporting this to the maintainers of worker.org.gradle.internal.reflect.JavaMethod WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

Caused by: java.lang.IllegalArgumentException: Children: cycle detected:

Caused by: java.lang.IllegalArgumentException: Children: cycle detected: parent = BorderPane[id=borderPane, styleClass=root], node = BorderPane[id=borderPane, styleClass=root]

Caused by: java.lang.IllegalArgumentException: URI is not hierarchical

Caused by: java.lang.IllegalArgumentException: URI is not hierarchical

Java.lang.AssertionError: isSubtype DEFERRED

java.lang.AssertionError: isSubtype DEFERRED at com.sun.tools.javac.code.Types$4.visitType(Types.java:971) at com.sun.tools.javac.code.Types$4.visitType(Types.java:947) at com.sun.tools.javac.code.Type.accept(Type.java:214) at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4794) at com.sun.tools.javac.code.Types.isSubtype(Types.java:943) at com.sun.tools.javac.code.Types.isSubtypeUncheckedInternal(Types.java:869) at com.sun.tools.javac.code.Types.isSubtypeUnchecked(Types.java:855) at com.sun.tools.javac.code.Types.isConvertible(Types.java:477) at com.sun.tools.javac.comp.Check.assertConvertible(Check.java:1023) at com.sun.tools.javac.comp.Check.checkMethod(Check.java:979) at com.sun.tools.javac.comp.Attr.checkMethod(Attr.java:4279) at com.sun.tools.javac.comp.Attr.checkIdInternal(Attr.java:4025) at com.sun.tools.javac.comp.Attr.checkMethodIdInternal(Attr.java:3932) at com.sun.tools.javac.comp.Attr.checkMethodId(Attr.java:3911) at com.su
Error: [ INFO ] --- maven-jar-plugin:3.0.2:jar (default-jar) @ cars --- [ WARNING ] JAR will be empty - no content was marked for inclusion! Solution:

Failed to execute goal org.codehaus.mojo:exec-maven-plugin

Error  : Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (unpack-dependencies) on project carMaven: Command execution failed. Cannot run program "/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/../bin/javafxpackager" (in directory "----"): error=2, No such file or directory -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException solution : remove this part :            <plugin>                 <groupId>org.codehaus.mojo</groupId>                 <artifactId>exec-maven-plugin</artifactId>                 <version>1.2.1</version>                 <executions>                     <execution>

What's this error " no main manifest attribute, in " means ? netbeans

When I try to run application jar using the command line on macOS, I get this error " no main manifest attribute, in ...." I try these solutions, but no one of them seems to work : You should have been used this  java -jar app.jar instead of this  java -jar "app" java - cp your . jar Mainclass. Export you Java Project as an  Runnable Jar file  rather than Jar. A manifest is a file in the path META-INF/MANIFEST.MF within the jar which defines attributes like the classpath and the main class for running the jar file.  had the same problem. Make sure your MANIFEST.MF is in: src / main / resources / META_INF / NOT src / main / java / META_INF / the only thing that works for me by using maven as follow: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <version>3.0.2</vers

what's the "Error: signed modular JAR /Users/viii/stock2018/libs9/mail-1.4.7.jar is currently not supported, use --ignore-signing-information to suppress error" error?

Error: signed modular JAR...mail-1.4.7.jar is currently not supported, use --ignore-signing-information to suppress error

upload files errors

Caused By:javax.servlet.ServletException: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Read timed out javax.servlet.ServletException: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Read timed out at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:202) at cn.edu.sdu.framework.bs.SysRequestProcessor.process(SysRequestProcessor.java:445) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:443) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:805) at cn.edu.sdu.framework.bs.UimsActionServlet.doPost(UimsActionServlet.java:597) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) at cn.edu.sdu.framework.bs.UimsActionServlet.doGet(UimsActionServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpSe