排行榜

  • 用户榜
  • 标签榜
  • 冲榜分奖金

频道

最新最热悬赏待采纳 筛选
  • 3

    回答

  • 26

    浏览

今天去写项目,突然发现SpringBoot的配置文件下方出现了波浪线。指针指上去后显示。 在网上查阅了一些资料,说是SpringBoot的配置文件不是小绿叶。 但是我这边配置文件也是小绿叶,新建工程也是同样的问题。 有没有大佬知道是怎么回事啊?谢谢!!! 

  • 8

    回答

  • 57

    浏览

 springboot使用mybatis去查询Oracle数据库,想取值打印出来,但打不出来。传参数去查询、写死sql查询,都打不出来。但是传参数去查条数可以打出 条数值。  试过 把resultType 改成  java.lang.String、string、String, 都不行      service的实现类:     mapper:  查条数有值:     打断点 没显示值:   数据库有值

  • 0

    回答

  • 9

    浏览

  当我个JFrame窗体设置了背景,然后JLabel中设置了文本,按钮就不能设置背景颜色,不然有时候有运行程序会导致JLabel标签中的标题覆盖掉,好像是。总之标题不见,删除了按钮的背景颜色就可以正常显示标题了,求助如何在带有颜色窗体文本下的窗体添加一个有颜色标题的按钮

  • 3

    回答

  • 28

    浏览

我跟着《Java Web从入门到精通》学习struts,在idea环境下配置struts.xml时提示cannot resolve symbol 'user_add.jsp',不知道如何解决,请教一下大佬们。 后来新创了个test项目重做了一遍,在打同一行时依然出现了该问题,但此时还未创建user_add.jsp文件,quick fix提示了创建这一文件,于是用idea自动帮忙创建了,上述问题就解决了。然后回到原项目里发现idea没有提示quick fix,但文件路径和test项目下一模一样,按理说不应该出现问题的。 结果当我再次打开test项目,发现原本由quick fix创建的jsp文件又无法解析了,报了同样的错误。太难了!  

  • 5

    回答

  • 36

    浏览

Java类代码如下、 package com.servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; public class PryingHtml extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { super.doGet(req, resp); //通过响应的回传流回html数据页面 resp.setContentType("text/html; charset=UTF-8"); PrintWriter writer = resp.getWriter(); writer.write(" <!DOCTYPE html>\r\n"); writer.write(" <html lang=\"en\">\r\n"); writer.write(" <<head>\r\n"); writer.write(" <meta charset=\"UTF-8\">\r\n"); writer.write(" <title>Title</title>\r\n"); writer.write(" </head>\r\n"); writer.write(" <body>\r\n"); writer.write(" <!DOCTYPE html>\r\n"); writer.write(" <body>\r\n"); writer.write(" 这是html页面....\r\n"); writer.write(" <body>\r\n"); writer.write("</html>\r\n"); } }    web.xml代码如下。 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" version="4.0"> <servlet> <servlet-name>PryingHtml</servlet-name> <servlet-class>com.servlet.PryingHtml</servlet-class> </servlet> <servlet-mapping> <servlet-name>PryingHtml</servlet-name> <url-pattern>/PryingHtml</url-pattern> </servlet-mapping> </web-app>  

  • 2

    回答

  • 23

    浏览

 配置后功能正常,但是一直会有异常日志 错误信息:   相关依赖: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> <version>0.2.1.RELEASE</version> </dependency> <parent> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-parent</artifactId> <version>Dalston.SR4</version> </parent>  

  • 4

    回答

  • 52

    浏览

写了一个查询方法,里面调用两个接口,分别查询不同的信息,方法的返回信息怎么处理

  • 2

    回答

  • 18

    浏览

因为最近我最近在项目中经常引入了其他组的项目经常报错,说让我少用这个maven按键,想请教下,这个按键是会从私服中拉取最近的代码还是怎么说?好像点更新了很多api都报错了  

回答 CFDN_CN
采纳率30.6%
28天前
  • 3

    回答

  • 27

    浏览

它上面显示的是baomidou,那就是MP有问题,但是我找了,还是不知道是哪里的问题,有哪位大佬知道的下面评论告诉我一下,谢谢! java.lang.ClassCastException: com.intellij.psi.impl.source.xml.XmlFileImpl cannot be cast to com.intellij.psi.PsiJavaFile at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:40) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:37) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:37) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:37) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:37) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:37) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:37) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getVirtualFile(PlusEntityPropInspection.java:37) at com.baomidou.plugin.idea.mybatisx.inspection.PlusEntityPropInspection.getCustomComponents(PlusEntityPropInspection.java:83) at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.computeCustomBeans(AbstractSimpleLocalModel.java:56) at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.access$000(AbstractSimpleLocalModel.java:27) at com.intellij.spring.contexts.model.AbstractSimpleLocalModel$1$1.compute(AbstractSimpleLocalModel.java:39) at com.intellij.spring.contexts.model.AbstractSimpleLocalModel$1$1.compute(AbstractSimpleLocalModel.java:35) at com.intellij.openapi.util.NotNullLazyValue.getValue(NotNullLazyValue.java:39) at com.intellij.spring.contexts.model.BeansSpringModel.calculateLocalBeans(BeansSpringModel.java:63) at com.intellij.spring.contexts.model.CachedLocalModel.getLocalBeans(CachedLocalModel.java:28) at com.intellij.spring.contexts.model.AbstractSimpleSpringModel.processAllBeans(AbstractSimpleSpringModel.java:163) at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processAllBeans$2(AbstractProcessableModel.java:48) at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30) at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50) at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59) at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51) at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59) at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51) at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:31) at com.intellij.spring.contexts.model.AbstractProcessableModel.processAllBeans(AbstractProcessableModel.java:48) at com.intellij.spring.contexts.model.AbstractProcessableModel.getAllCommonBeans(AbstractProcessableModel.java:41) at com.intellij.spring.navigation.GotoSpringBeanProvider.addNames(GotoSpringBeanProvider.java:30) at com.intellij.util.xml.model.gotosymbol.GoToSymbolProvider.getNames(GoToSymbolProvider.java:78) at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:86) at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:70) at com.intellij.openapi.application.ReadActionProcessor.lambda$process$0(ReadActionProcessor.java:28) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:973) at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57) at com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:28) at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:133) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1168) at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87) at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:116) at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:99) at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)  

  • 1

    回答

  • 15

    浏览

能认证成功并存入redis中了,但是打断点发现,并没有走授权的filter,这是为什么呢? 我试了不用gateway网关而是nginx,发现能解惑授权的filter,但无法获得header里的token,也就是先进行了授权,认证还没有开始,所有没有token 这样要怎么解决呀?

  • 1

    回答

  • 16

    浏览

有没有大佬开发过idea插件,帮我看看这是什么问题。说是ID已注册,但我根本没用这个ID啊

  • 2

    回答

  • 24

    浏览

  输入的第一行包含两个整数M和N (0 <= N,M <= 50),它们代表输出内容的高度和宽度。 输出有2M行,2N列,数字之间用空格分隔。 右上角的图案是输入的水平翻转。 左下角的图案是输入的垂直翻转。 右下角的图案水平和垂直地翻转。 例如, 输入 2 2 1 2 3 4 输出 1 2 2 1 3 4 4 3 3 4 4 3 1 2 2 1 又例如 输入 2 3 1 2 3 45 678 9999 输出 1 2 3 3 2 1 45 678 9999 9999 678 45 45 678 9999 9999 678 45 1 2 3 3 2 1

  • 4

    回答

  • 25

    浏览

<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Title</title> </head> <body>     <img id="light" src="img/off.gif">     <h1 id="title">aaaa</h1>     <script language="javascript">         alert("添加成功!")         var l=document.getElementById("light");         alert(l);         l.src="img/on.gif";         var title=document.getElementById("title");         alert("change");         title.innerHTML="bbbbb"     </script> </body> </html> 无论script放在哪里都是先执行alter语句;按照正常的话不应该是先显示图片再弹alter语句里面的内容吗  

  • 1

    回答

  • 15

    浏览

(IDEA)使用Mybatis时,Mapper接口的返回值是基本数据类型或者List<>时,总是爆红Result type not match for select id="XXX" 实在找不出原因,求大佬们帮忙看看,万分感谢  

  • 2

    回答

  • 19

    浏览

build 输出如下: Abnormal build process termination: /Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home/bin/java -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs="" -Djdt.compiler.useSingleThread=true -Dpreload.project.path=/Users/prog_evil/IdeaProjects/springboot_mybatis2 "-Dpreload.config.path=/Users/prog_evil/Library/Application Support/JetBrains/IntelliJIdea2020.3/options" -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Dio.netty.initialSeedUniquifier=-807414932553835756 -Dfile.encoding=UTF-8 -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2020.3 "-Didea.home.path=/Applications/IntelliJ IDEA.app/Contents" "-Didea.config.path=/Users/prog_evil/Library/Application Support/JetBrains/IntelliJIdea2020.3" "-Didea.plugins.path=/Users/prog_evil/Library/Application Support/JetBrains/IntelliJIdea2020.3/plugins" -Djps.log.dir=/Users/prog_evil/Library/Logs/JetBrains/IntelliJIdea2020.3/build-log "-Djps.fallback.jdk.home=/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home" -Djps.fallback.jdk.version=11.0.10 -Dio.netty.noUnsafe=true -Djava.io.tmpdir=/Users/prog_evil/Library/Caches/JetBrains/IntelliJIdea2020.3/compile-server/demo_b2e1f863/temp -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.incremental.compilation.js=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path="/var/folders/tl/s9w9qxzn6dzd7yc6_llkjdw40000gn/T/kotlin-idea-15675556285904858312-is-running" -classpath "/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/jps-launcher.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home/lib/tools.jar" org.jetbrains.jps.cmdline.Launcher "/Applications/IntelliJ IDEA.app/Contents/lib/netty-common-4.1.52.Final.jar:/Applications/IntelliJ IDEA.app/Contents/lib/netty-resolver-4.1.52.Final.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/javac2.jar:/Applications/IntelliJ IDEA.app/Contents/lib/httpclient-4.5.12.jar:/Applications/IntelliJ IDEA.app/Contents/lib/plexus-component-annotations-1.7.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-resolver-spi-1.3.3.jar:/Applications/IntelliJ IDEA.app/Contents/lib/util.jar:/Applications/IntelliJ IDEA.app/Contents/lib/platform-api.jar:/Applications/IntelliJ IDEA.app/Contents/lib/qdox-2.0-M10.jar:/Applications/IntelliJ IDEA.app/Contents/lib/asm-all-9.0.jar:/Applications/IntelliJ IDEA.app/Contents/lib/commons-lang3-3.10.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jna.jar:/Applications/IntelliJ IDEA.app/Contents/lib/trove4j.jar:/Applications/IntelliJ IDEA.app/Contents/lib/nanoxml-2.2.3.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-resolver-api-1.3.3.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/maven-resolver-connector-basic-1.3.3.jar:/Applications/IntelliJ IDEA.app/Contents/lib/plexus-utils-3.2.0.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-resolver-impl-1.3.3.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jdom.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-resolver-util-1.3.3.jar:/Applications/IntelliJ IDEA.app/Contents/lib/protobuf-java-3.13.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/aether-dependency-resolver.jar:/Applications/IntelliJ IDEA.app/Contents/lib/netty-buffer-4.1.52.Final.jar:/Applications/IntelliJ IDEA.app/Contents/lib/forms-1.1-preview.jar:/Applications/IntelliJ IDEA.app/Contents/lib/annotations.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-resolver-provider-3.6.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/resources_en.jar:/Applications/IntelliJ IDEA.app/Contents/lib/netty-transport-4.1.52.Final.jar:/Applications/IntelliJ IDEA.app/Contents/lib/netty-codec-4.1.52.Final.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-model-3.6.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/guava-29.0-jre.jar:/Applications/IntelliJ IDEA.app/Contents/lib/intellij-deps-fastutil-8.4.1-4.jar:/Applications/IntelliJ IDEA.app/Contents/lib/lz4-java-1.7.1.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/jps-javac-extension-1.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/jps-builders-6.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/maven-resolver-transport-file-1.3.3.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jna-platform.jar:/Applications/IntelliJ IDEA.app/Contents/lib/oro-2.0.8.jar:/Applications/IntelliJ IDEA.app/Contents/lib/plexus-interpolation-1.25.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jps-model.jar:/Applications/IntelliJ IDEA.app/Contents/lib/gson-2.8.6.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-model-builder-3.6.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-builder-support-3.6.1.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/maven-resolver-transport-http-1.3.3.jar:/Applications/IntelliJ IDEA.app/Contents/lib/commons-logging-1.2.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/jps-builders.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-artifact-3.6.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/forms_rt.jar:/Applications/IntelliJ IDEA.app/Contents/lib/log4j.jar:/Applications/IntelliJ IDEA.app/Contents/lib/httpcore-4.4.13.jar:/Applications/IntelliJ IDEA.app/Contents/lib/slf4j-api-1.7.25.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/lib/maven-repository-metadata-3.6.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/gson-2.8.6.jar:/Applications/IntelliJ IDEA.app/Contents/lib/guava-29.0-jre.jar:/Applications/IntelliJ IDEA.app/Contents/lib/failureaccess-1.0.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/bcprov-jdk15on-1.65.jar:/Applications/IntelliJ IDEA.app/Contents/lib/bcpkix-jdk15on-1.65.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jaxb-api-2.3.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jaxb-runtime-2.3.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/istack-commons-runtime-3.0.7.jar:/Applications/IntelliJ IDEA.app/Contents/lib/javax.activation-1.2.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.common-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/gradle/lib/gradle-api-6.7.jar:/Applications/IntelliJ IDEA.app/Contents/lib/gson-2.8.6.jar:/Applications/IntelliJ IDEA.app/Contents/lib/guava-29.0-jre.jar:/Applications/IntelliJ IDEA.app/Contents/lib/failureaccess-1.0.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/bcprov-jdk15on-1.65.jar:/Applications/IntelliJ IDEA.app/Contents/lib/bcpkix-jdk15on-1.65.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jaxb-api-2.3.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jaxb-runtime-2.3.1.jar:/Applications/IntelliJ IDEA.app/Contents/lib/istack-commons-runtime-3.0.7.jar:/Applications/IntelliJ IDEA.app/Contents/lib/javax.activation-1.2.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.common-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/gradle/lib/gradle-api-6.7.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/JavaEE/lib/jasper-v2-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/ant/lib/ant-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/uiDesigner/lib/jps/java-guiForms-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/eclipse/lib/eclipse-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/eclipse/lib/eclipse-common.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/IntelliLang/lib/java-langInjection-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Groovy/lib/groovy-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Groovy/lib/groovy-constants-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/aspectj/lib/aspectj-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/gradle-java/lib/gradle-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/devkit/lib/devkit-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/javaFX/lib/javaFX-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/javaFX/lib/javaFX-common.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/JavaEE/lib/javaee-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/kotlin-stdlib.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/kotlin-stdlib-jdk7.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/kotlin-stdlib-jdk8.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/kotlin-reflect.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/kotlin-plugin.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/kotlin-jps-common.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Kotlin/lib/kotlin-common.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/apkzlib-4.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/apksig-4.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/jps/android-jps-plugin.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/android-jps-model.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/build-common.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/android-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.sdk-common-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.common-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.repository-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.sdklib-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.layoutlib-api-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/android/lib/studio.android.sdktools.manifest-merger-27.0.0.0.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/JPA/lib/jps/javaee-jpa-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/webSphereIntegration/lib/jps/javaee-appServers-websphere-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/weblogicIntegration/lib/jps/javaee-appServers-weblogic-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Grails/lib/groovy-grails-jps.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/Grails/lib/groovy-grails-compilerPatch.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 60730 cc261643-e661-49c3-bb92-17bb6591d8bc /Users/prog_evil/Library/Caches/JetBrains/IntelliJIdea2020.3/compile-server Build process started. Classpath: /Applications/IntelliJ IDEA.app/Contents/plugins/java/lib/jps-launcher.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home/lib/tools.jar SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. # A fatal error has been detected by the Java Runtime Environment: SIGFPE (0x8) at pc=0x000000010edfa8c8, pid=40912, tid=0x0000000000004117 JRE version: Java(TM) SE Runtime Environment (8.0_281-b09) (build 1.8.0_281-b09) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.281-b09 mixed mode bsd-amd64 compressed oops) Problematic frame: j com.sun.tools.javac.comp.ConstFold.fold2(ILcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type;+877 Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again An error report file with more information is saved as: /Users/prog_evil/Library/Caches/JetBrains/IntelliJIdea2020.3/compile-server/hs_err_pid40912.log Compiled method (c1)  328886 1545       1       java.lang.Integer::intValue (5 bytes)  total in heap  [0x000000010f30e590,0x000000010f30e820] = 656  relocation     [0x000000010f30e6b8,0x000000010f30e6e0] = 40  main code      [0x000000010f30e6e0,0x000000010f30e760] = 128  stub code      [0x000000010f30e760,0x000000010f30e7f0] = 144  scopes data    [0x000000010f30e7f0,0x000000010f30e7f8] = 8  scopes pcs     [0x000000010f30e7f8,0x000000010f30e818] = 32  dependencies   [0x000000010f30e818,0x000000010f30e820] = 8 # If you would like to submit a bug report, please visit: http://bugreport.java.com/bugreport/crash.jsp

  • 1

    回答

  • 11

    浏览

我用的echart模板想生成两个相似的图表,一个在左一个在右,但是有一个显示不出来,随便将哪一个注释掉,另外一个都能正常显示,不过显示的数据一闪一闪的,像是程序将两个数据全部传到一个显示表中,这是怎么回事? <%-- Created by IntelliJ IDEA. User: ZZC Date: 2021/4/11 Time: 10:57 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>温湿度监控平台</title> <script type="text/javascript" src="js/jquery-1.8.3.js"></script> <script type="text/javascript" src="js/echarts.min.js"></script> <link rel="stylesheet"href="bootstrap-3.3.7-dist\css\bootstrap.min.css"> </head> <body> <div id="main1" style="float:left;width: 600px;height:400px;"></div> <script type="text/javascript"> // 基于准备好的dom,初始化echarts实例 var myChart = echarts.init(document.getElementById('main1')); // 指定图表的配置项和数据 var option = { title: { text: '机房温度', //标题文本内容 }, toolbox: { //可视化的工具箱 show: true, feature: { restore: { //重置 show: true }, saveAsImage: {//保存图片 show: true } } }, tooltip: { //弹窗组件 formatter: "{a} <br/>{b} : {c}%" }, series: [{ name: '机房温度', type: 'gauge', detail: {formatter:'{value}℃'}, data: [{value: 50, name: '温度显示表'}] }] }; // 使用刚指定的配置项和数据显示图表。 myChart.setOption(option); setInterval(function(){//把option.series[0].data[0].value的值使用random()方法获取一个随机数 $.getJSON( "TempHumiditySecServlet", {}, function (result){ //js需要通过eval()函数 将返回值 转为一个js能够识别的json对象 json = eval(result); option.series[0].data[0].value = json.tempRandow; myChart.setOption(option, true); } ); }, 1000); </script> <div id="main2" style="float:right;width: 600px;height:400px;"></div> <script type="text/javascript"> // 基于准备好的dom,初始化echarts实例 var myChart = echarts.init(document.getElementById('main2')); // 指定图表的配置项和数据 var option = { title: { text: '机房湿度', //标题文本内容 }, toolbox: { //可视化的工具箱 show: true, feature: { restore: { //重置 show: true }, saveAsImage: {//保存图片 show: true } } }, tooltip: { //弹窗组件 formatter: "{a} <br/>{b} : {c}%" }, series: [{ name: '机房湿度', type: 'gauge', detail: {formatter:'{value}%rh'}, data: [{value: 50, name: '湿度显示表'}] }] }; // 使用刚指定的配置项和数据显示图表。 myChart.setOption(option); setInterval(function(){//把option.series[0].data[0].value的值使用random()方法获取一个随机数 $.getJSON( "TempHumiditySecServlet", {}, function (result){ //js需要通过eval()函数 将返回值 转为一个js能够识别的json对象 json = eval(result); option.series[0].data[0].value = json.humidityRandow; myChart.setOption(option, true); } ); }, 1000); </script> <div class="row"></div> <h3><a href="main.jsp">返回</a></h3> <script type="text/javascript" src="bootstrap-3.3.7-dist\js\bootstrap.min.js"></script> <script type="text/javascript" src="jquery\jquery-2.1.1.min.js"></script> </body> </html>  

  • 2

    回答

  • 78

    浏览

java: java.lang.ExceptionInInitializerError Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @5e4ff3e5 java: java.lang.ExceptionInInitializerError  

  • 4

    回答

  • 67

    浏览

mybatis显示sql语句的配置 方便远程~

  • 0

    回答

  • 24

    浏览

2021-04-12 14:48:40.954  INFO 25368 --- [           main] c.a.n.c.c.impl.LocalConfigInfoProcessor  : LOCAL_SNAPSHOT_PATH:C:\Users\asus\nacos\config 2021-04-12 14:48:41.025  INFO 25368 --- [           main] c.a.nacos.client.config.impl.Limiter     : limitTime:5.0 2021-04-12 14:48:41.078  INFO 25368 --- [           main] c.a.nacos.client.config.utils.JVMUtil    : isMultiInstance:false 2021-04-12 14:48:41.140  WARN 25368 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[other.yaml] & group[dev1] 2021-04-12 14:48:41.152  WARN 25368 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[gulimall-coupon] & group[DEFAULT_GROUP] 2021-04-12 14:48:41.161  WARN 25368 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[gulimall-coupon.yaml] & group[DEFAULT_GROUP] 2021-04-12 14:48:41.162  INFO 25368 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='NACOS', propertySources=[NacosPropertySource {name='gulimall-coupon.yaml,DEFAULT_GROUP'}, NacosPropertySource {name='gulimall-coupon,DEFAULT_GROUP'}, NacosPropertySource {name='other.yaml,dev1'}, NacosPropertySource {name='mybatis.yaml,dev'}, NacosPropertySource {name='datasource.yaml,dev'}]} 2021-04-12 14:48:41.173  INFO 25368 --- [           main] c.a.g.coupon.GulimallCouponApplication   : No active profile set, falling back to default profiles: default 2021-04-12 14:48:43.068  INFO 25368 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=d1c1ff26-f5de-3879-ad96-26dd73c365d1 2021-04-12 14:48:43.265  INFO 25368 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$32e4121a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-04-12 14:48:43.300  INFO 25368 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$4efe1517] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-04-12 14:48:43.867  INFO 25368 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http) 2021-04-12 14:48:43.924  INFO 25368 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat] 2021-04-12 14:48:43.924  INFO 25368 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.24] 2021-04-12 14:48:44.245  INFO 25368 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext 2021-04-12 14:48:44.245  INFO 25368 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3037 ms  _ _   |_  _ _|_. ___ _ |    _  | | |\/|_)(_| | |_\  |_)||_|_\       /               |                                  3.2.0  2021-04-12 14:48:46.458  WARN 25368 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources. 2021-04-12 14:48:46.458  INFO 25368 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. 2021-04-12 14:48:46.470  WARN 25368 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources. 2021-04-12 14:48:46.471  INFO 25368 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. 2021-04-12 14:48:47.004  INFO 25368 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor' 2021-04-12 14:48:48.413  INFO 25368 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'Nacso-Watch-Task-Scheduler' 2021-04-12 14:48:48.430  INFO 25368 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Property :null 2021-04-12 14:48:48.431  INFO 25368 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Environment :null 2021-04-12 14:48:48.432  INFO 25368 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Property :null 2021-04-12 14:48:49.988  WARN 25368 --- [           main] o.s.c.l.config.RibbonWarnLogger          : You already have RibbonLoadBalancerClient on your classpath. It will be used by default. To use BlockingLoadBalancerClient remove spring-cloud-starter-netflix-ribbon from your project. 2021-04-12 14:48:50.362  INFO 25368 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path '' 2021-04-12 14:48:50.370  INFO 25368 --- [           main] com.alibaba.nacos.client.naming          : [BEAT] adding beat: {"cluster":"DEFAULT","ip":"192.168.104.12","metadata":{"preserved.register.source":"SPRING_CLOUD"},"period":5000,"port":8080,"scheduled":false,"serviceName":"DEFAULT_GROUP@@gulimall-coupon","stopped":false,"weight":1.0} to beat map. 2021-04-12 14:48:50.574  INFO 25368 --- [           main] com.alibaba.nacos.client.naming          : [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@gulimall-coupon with instance: {"clusterName":"DEFAULT","enabled":true,"ephemeral":true,"healthy":true,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ip":"192.168.104.12","ipDeleteTimeout":30000,"metadata":{"preserved.register.source":"SPRING_CLOUD"},"port":8080,"weight":1.0} 2021-04-12 14:48:50.598  INFO 25368 --- [           main] c.a.c.n.registry.NacosServiceRegistry    : nacos registry, DEFAULT_GROUP gulimall-coupon 192.168.104.12:8080 register finished 2021-04-12 14:48:51.582  INFO 25368 --- [           main] c.a.g.coupon.GulimallCouponApplication   : Started GulimallCouponApplication in 14.943 seconds (JVM running for 17.227) 2021-04-12 14:48:51.590  INFO 25368 --- [           main] c.a.n.client.config.impl.ClientWorker    : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [subscribe] other.yaml+dev1+44af5996-5a64-4ed2-b306-374fed76a136 2021-04-12 14:48:51.593  INFO 25368 --- [           main] c.a.nacos.client.config.impl.CacheData   : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [add-listener] ok, tenant=44af5996-5a64-4ed2-b306-374fed76a136, dataId=other.yaml, group=dev1, cnt=1 2021-04-12 14:48:51.594  INFO 25368 --- [           main] c.a.n.client.config.impl.ClientWorker    : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [subscribe] gulimall-coupon.yaml+DEFAULT_GROUP+44af5996-5a64-4ed2-b306-374fed76a136 2021-04-12 14:48:51.594  INFO 25368 --- [           main] c.a.nacos.client.config.impl.CacheData   : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [add-listener] ok, tenant=44af5996-5a64-4ed2-b306-374fed76a136, dataId=gulimall-coupon.yaml, group=DEFAULT_GROUP, cnt=1 2021-04-12 14:48:51.599  INFO 25368 --- [           main] c.a.n.client.config.impl.ClientWorker    : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [subscribe] datasource.yaml+dev+44af5996-5a64-4ed2-b306-374fed76a136 2021-04-12 14:48:51.600  INFO 25368 --- [           main] c.a.nacos.client.config.impl.CacheData   : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [add-listener] ok, tenant=44af5996-5a64-4ed2-b306-374fed76a136, dataId=datasource.yaml, group=dev, cnt=1 2021-04-12 14:48:51.607  INFO 25368 --- [06-374fed76a136] c.a.n.client.config.impl.ClientWorker    : get changedGroupKeys:[] 2021-04-12 14:48:51.617  INFO 25368 --- [           main] c.a.n.client.config.impl.ClientWorker    : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [subscribe] mybatis.yaml+dev+44af5996-5a64-4ed2-b306-374fed76a136 2021-04-12 14:48:51.618  INFO 25368 --- [           main] c.a.nacos.client.config.impl.CacheData   : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [add-listener] ok, tenant=44af5996-5a64-4ed2-b306-374fed76a136, dataId=mybatis.yaml, group=dev, cnt=1 2021-04-12 14:48:51.618  INFO 25368 --- [06-374fed76a136] c.a.n.client.config.impl.ClientWorker    : get changedGroupKeys:[] 2021-04-12 14:48:51.619  INFO 25368 --- [           main] c.a.n.client.config.impl.ClientWorker    : [fixed-127.0.0.1_8848-44af5996-5a64-4ed2-b306-374fed76a136] [subscribe] gulimall-coupon+DEFAULT_GROUP+44af5996-5a64-4ed2-b306-374fed76a136 本地的bootstrap样式是这样的

  • 3

    回答

  • 43

    浏览

1.我在如下页面输入相应的信息,数据库没有成功插入记录。 2.我已经排除了后段代码问题,在如下直接运行可以直接插入到数据库。 所以可能是web.xml或者是控制端的问题 3.下面是两个jsp文件的代码 请大神们帮我看看哪里除了问题

  • 2

    回答

  • 24

    浏览

java: 不兼容的类型: javax.swing.JFrame无法转换为java.awt.event.ActionListener

  • 5

    回答

  • 26

    浏览

Idea 中建maven项目时test设置为测试资源目录后就跑到上面了,怎么改到下面?  

  • 5

    回答

  • 43

    浏览

java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.hssf.util.HSSFColor$HSSFColorPredefined     org.apache.poi.hssf.model.InternalWorkbook.createExtendedFormat(InternalWorkbook.java:1382)     org.apache.poi.hssf.model.InternalWorkbook.createCellXF(InternalWorkbook.java:868)     org.apache.poi.hssf.usermodel.HSSFWorkbook.createCellStyle(HSSFWorkbook.java:1251)     com.manage.utils.ExportExcelUtil.createSXSSFWorkbook(ExportExcelUtil.java:35)     com.manage.web.ExportingStudentList.doGet(ExportingStudentList.java:60)     javax.servlet.http.HttpServlet.service(HttpServlet.java:626)     javax.servlet.http.HttpServlet.service(HttpServlet.java:733)     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)