intellij-idea-2018 相关问题


IntelliJ IDEA - 如何重新连接控制台选项卡并将其放回 IDE

我是 IntelliJ IDEA 新手(正在使用 2017.1.3)... 不小心,我的控制台选项卡窗口浮动了,并且似乎无法将其重新连接到 IntelliJ IDEA。当我运行调试器时,它作为单独的 win 启动...


构建进程异常终止 IntelliJ IDEA

很长一段时间以来,我在尝试在 Intellij IDEA Community Edition 2023.3 中编译任何 Java 程序时遇到各种错误。 编译以下代码时: 导入 javax.swing.*; 导入jav...


如何使用IntelliJ IDEA配置maven服务器?

我是maven和tomcat的新手,我尝试使用IntelliJ IDEA运行tomcat。 我使用以下命令安装了maven:brew install maven。 我还有一个文件夹 /opt/homebrew/Cellar/maven/3.9.6/libexec 为什么不接受...


IntelliJ Idea Spring boot 应用程序在 Temp 中创建 tomcat 文件夹

我在 IntelliJ Idea 中遇到 Spring Boot 项目问题 - 每次我通过 IDE 启动项目时,Tomcat 都会在 appdata\local emp 中创建名为“tomcat.8080.X\work\Tomcat\localhost...”的新工作目录。


IntelliJ IDEA 数据抓握 - NotSerializedException:MongoDB 查询中的 com.oracle.truffle.api.TruffleStackTraceElement

我正在使用查询控制台进行 MongoDB 查询。 让 ids = db.collection.aggregate([ { $匹配:{ ... } }, { $组:{ _id:“$字段” } ...


Jakarta EE:JSF 标签未转换为 HTML 标签

我已经在 IntelliJ Idea Ultimate (Maven) 中为 Java Enterprises 的大学项目设置了 Jakarta EE 项目,并且还可以在浏览器中输出 index.xhtml(通过 Tomcat 8.5.87)。我是另一个...


使用intellij Idea练习Java

我是一个完全的新手,我正在练习数组。当编写 String myArray[] 时,我在方括号中收到错误。我实际上是在复制我用来学习的视频屏幕,并且我......


intellij IDEA 中的 Java 实时模板在块注释中行为不正确?

我正在定义自己的实时模板,在块注释内使用(依赖)变量时(未测试行注释),该行为似乎是错误的。 我的模板: $评论开始$* *


致命错误C1034:stdio.h:未指定包含文件的搜索路径。 GraalVM Native Image 没有编译我的项目

GraalVM 没有编译我的项目,我尝试了以下方法: PS D:\Documents\Intellij Idea Projects\Project> ./gradlew.bat nativeRun 配置项目: 项目:=>“com.user.Project”Java 模块 任务:


为 IntelliJ IDEA 添加 JSON 语法突出显示以用于 .liquid 文件

我已经能够按照此处的说明向我的 .liquid 文件添加语法突出显示:在 webStorm/phpStorm 中启用 Liquid 模板语法突出显示 它对我的 HTML 运行良好并且...


log4j2 使用 Maven 将所有日志写入 Spring Boot 3.1.0 中的特定文件时出现问题

我正在尝试设置 log4j2 将所有日志写入特定文件。我尝试了在互联网上找到的各种方法,但日志仍然只显示在控制台中。 我正在使用 IntelliJ IDEA CE。 春天...


使用 Grouper 的 pandas 系列日期时间索引中的月份名称

我正在将一年的数据(六月至五月)按月绘制成胡须箱图。 我有 pandas 系列的数据: 日期 2018-06-01 0.012997 2018-06-02 0.009615 2018-06-03 0.012884 2018-06-04 ...


在 SonarQube 的安全热点中收到警告,确保此处安全控制

ClaimsPrincipal 主体 = new ClaimsPrincipal(identity); 控制权限是安全敏感的。它在过去导致了以下漏洞: CVE-2018-12999 CVE-2018-10...


根据连续日期合并 SQL 记录

我有一个类似如下的数据表: ID 名称 开始 结束 10 价值1 2016-01-01 2016-12-31 10 价值1 2017-01-01 2017-12-31 10 价值1 2018-01-01 2018-12-31 10V...


Pop_os:如何为 intellij 创建命令行启动器

在 Pop_os 上: 当在项目文件夹中时,我想输入“intellij”。并在 intellij 中打开该项目。 官方说明说进入主菜单并使用 “工具/创建命令-l...


将两个 javascript 对象合并为一个? [重复]

我正在尝试将以下对象合并为一个,但到目前为止还没有成功 - 我的 console.log 中的结构如下: 2018-05-11 : {posts: 2} // var posts 2018-05-11 : {注释: 1} // var n...


revitpythonshell从2018年到2019年没有更新

我从 https://github.com/architecture-building-systems/revitpythonshell 下载了 rps 安装文件“2019.09.19_setup_RevitPythonShell_2019.exe” 但RevitPythonShell版本仍然是201...


在我“更改启动运行时”后,INTELLIJ 崩溃了

我想在我的 intellij 上使用 JDK-11。所以我按照这些说明更改了 java boot 运行时。现在我的 Intellij 没有打开就崩溃了。我正在使用MAC。 崩溃报告。 我发现的最接近的


Kotlin - IntelliJ 项目设置

我想使用 IntelliJ IDE 为 JVM 启动一个新的 Kotlin 项目,但我无法获得让它工作的配置。我试图按照本教程进行操作,但之后不起作用(...


来自有序字典的Python Json

我正在尝试创建一个嵌套的 Json 结构,如下所示: 示例 Json: { “id”:“德”, “密钥”:“1234567”, “来自”:“[email protected]”, “过期”:“2018-04-2...


如何在intellij中设置和运行scala-spark?

我正在尝试运行使用 Intellij 来构建用 scala 编写的 Spark 应用程序。当我执行scala程序时,出现以下错误: 线程“main”java.lang 中出现异常。


Java Web App - 尝试运行 JSP 文件 (IntelliJ) 时出现错误 404

当我尝试运行 JSP 文件(右键单击文件名并在 IntelliJ 中运行)时,我得到 404 我的JSP代码: `<%@ page contentType="text/html; charset=ISO-8859-1" pageEncoding=...


无法使用snap连接到ubuntu intellij中的docker守护进程

在 Intellij Ultimate 中,不会自动检测到 docker。 我选择“创建新”,但收到消息,我无法连接到 unix /var/run/docker.sock 上的 docker 守护进程 我开始使用 docker


Intellij Koltin/java 属性名称“désactivé”只能包含字母和数字

我尝试使用重音字符作为变量名称,但 intellij 并不喜欢它 经过一些测试后,这在编译甚至使用时都不会造成问题 我从管理


使用终端和集成终端(IntelliJ IDE CE)安装jenkins有什么区别?

我一直在努力了解这个 Jenkins 开源。我以前从未使用过詹金斯。使用 IntelliJ IDE 安装它后,我意识到在安装它之前,您需要 ins...


如何编辑 > 在 IntelliJ IDE 中使用 Mermaid 插件时复制 Mermaid 生成的图表

我正在使用 Mermaid 图表和图表工具来生成 ERD 图。我通过 JetBrains 提供的 Mermaid 插件在 IntelliJ IDE 中访问 Mermaid。 我正在使用双窗格模式...


为什么我的 clang-format 不支持 PPDirectiveIndentStyle 选项?

在 OSX 上安装了最新版本的 clang-format: $ brew 升级 clang-format 错误:clang-format 2018-04-24 已安装 $ clang-format-版本 clang-format 版本 7.0.0 (tags/google/stable/20...


如何从 WorldClim 2.1 中提取海拔值?

我一直在使用这个有用的链接来学习从 R 中的 WorldClim 2.1 中提取生物气候变量:https://www.benjaminbell.co.uk/2018/01/extracting-data-and-making-climate-maps。 html?lr=1 当


当任何更改发生时,IntelliJ 自动重建不起作用

我在 intelliJ 中使用 kotlin 处理 Spring Boot 项目。 作为一项设置,我尝试在代码发生任何更改时重新构建并按 ctrl+s。 我自动检查构建项目 我检查允许...


将 JDK 17 升级到 21 后,在 intelliJ 中获取 java 代理已加载警告

我刚刚在我的 Windows 计算机中从 JDK 17 升级到 21。之后,当我在 IntelliJ 中运行 JUNIT 测试时,我遇到了以下问题。我查了一整天了,还是没有……


Airflow BashOperator OSError:[Errno 2]没有这样的文件或目录

我不断从当前正在回填的预定 BashOperator 中收到相同的错误(“落后”了一个多月)。 [2018-06-10 22:06:33,558] {base_task_runner.py:115} 信息 - 运行:['bash...


DNN 输出缓存错误

我正在尝试在本地创建实时 DNN(版本 8.4.2)的副本,作为升级项目的一部分。我无法弄清楚以下错误的根源。有人能解释一下吗? 2018-...


Spring Integration SMB 在 Linux(CentOS 7) 上无效

我使用Spring Integration SMB将本地文件上传到Windows共享文件夹,在本地windows环境和idea中可以正常运行,但是当我将应用程序打成jar包时......


从 R 中的字符串中提取日期时间

我的数据框的一列包含日期时间和一些字符串字符。喜欢: “<13>1 2018-04-18T10:29:00.581243+10:00 KOI-QWE-HUJ vmon 2318 - - 一些描述......” 我希望


尝试使 java 项目可执行时,Artifact 文件夹未出现在 Intellij 的“out”目录中

我试图在Intellij中使我的java项目可执行,我一步一步正确地完成了所有事情,但是添加工件后没有工件文件夹,任何人都可以帮忙吗?一切似乎都是


编组结构体时间的通用方法。使用自定义格式将时间字段转换为 JSON

我的数据模型定义了多个结构,这些结构都有两个共同字段:StartDate 和 EndDate。我需要在编组 JSON 中将这两个字段格式化为 2018-09-21,因此 st...


为什么 PDFBox 添加到 IntelliJ Java 中的库和模块后会出现意外错误?

我收到以下错误: /Users/用户名/IdeaProjects/WrestlingProject/src/DataScraper.java:22:41 java:无法访问org.apache.pdfbox.io.RandomAccessRead 组织的类文件。


从spark/scala项目代码中资源文件夹中的sql文件读取查询

我在 IntelliJ 中的文件夹结构如下 src-->主-->资源-->sql-->samplequery.sql 我在文件夹 src--> main-->scala-... 中有 scala 对象文件samplequeryexecute


确定一组值是否跨列出现一次,那么这些列中的一个值就不会再出现在 df 中

我有一个像这样的数据框: 日期|ID|数字|单位 2021-01-01|1|55|psig 2019-01-01|1|20|psig 2018-01-01|2|55|psig 2017-01-01|3|40|psig 2016-01-01|4|55|cfpd 我有兴趣确定是否一行...


获取 - org.json 包不存在 - 无法使用 JSONArray / JSONObject

我正在尝试使用 IntelliJ 中的 Maven 用 Java 编写一个程序,该程序使用 HttpURLConnection 调用 API 并使用 JSONArray 和 JSONObject 解析响应。我尝试导入组织....


Intellij 自定义 VM 选项

我的大多数运行配置中有一个自定义虚拟机选项:“${eclipselink-javaagent}”,我需要编辑它,但我找不到任何方法来做到这一点。我是不是错过了什么?


在 Spring-MVC 中显示 JSP 页面时出现问题

我在 Spring-MVC 中显示 jsp 页面时遇到问题。 这是带有 Gradle 和 IntelliJ CE 的基本 hello world Spring-MVC: 我收到以下错误页面: 这是我的 build.gradle: 构建脚本{


404 错误 - 尝试访问我的 Servlet 时显示错误

主页工作正常,但是,当我尝试访问我正在测试的两个 servlet 之一时,出现 404 错误。我使用IDE intellij,tomcat 9,maven,servlet版本5, HTTP 状态 404...


launchctl 配置用户路径有什么作用?

我在 MacOS 中的 PATH 环境变量遇到了一个奇怪的问题,我花了几个小时来调试: 前段时间,当我试图解决 IntelliJ 终端 PATH 变量不存在的问题时...


无法识别的虚拟机选项“AggressiveOpts”

我正在尝试使用 Java 8 在 intelliJ 中运行我的加特林项目。 我知道 VM 选项“AggressiveOpts”在 Java 11 中已被弃用,并在 Java 12 中被删除,但我想知道为什么我会得到这个......


IntelliJ 中的“手表”是什么以及如何使用它们?

当我调试应用程序时,调试工具窗口中有一个“Watches”窗口。我把这本手册读了一遍又一遍,但找不到任何手表的实际用途。 不知何故,我认为这很酷,而且你...


css:溢出滚动添加额外的填充

我有以下html和css代码: html,正文{ 保证金:0; } #包含...</desc> <question vote="0"> <p>我有以下 html 和 css 代码:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;style type=&#34;text/css&#34;&gt; html, body { margin: 0; } #container{ width:100vw; height:100vh; background-color: green; } #left-bar{ position: absolute; width: 300px; height: 100vh; background-color: red; overflow: scroll; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div id=&#34;container&#34;&gt; &lt;div id=&#34;left-bar&#34; &gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>它给出: <a href="https://i.sstatic.net/sbXnw.png" rel="nofollow noreferrer"><img src="https://cdn.txt58.com/i/AWkuc3N0YXRpYy5uZXQvc2JYbncucG5n" alt="extra padding overflow scroll"/></a></p> <p>左侧栏内有一个填充,我不明白为什么以及如何删除它。</p> <p>我尝试过的事情:</p> <ul> <li>在左侧栏上添加<pre><code>padding: 0;</code></pre>,它不起作用(也可以使用<pre><code>!important</code></pre>)。</li> <li>使用检查器来了解填充的来源。我没找到。</li> <li>删除左侧栏上的<pre><code>overflow: scroll</code></pre>。它有效,但我希望左栏具有以下行为 <pre><code>overflow: scroll</code></pre></li> </ul> <p><strong>如何删除左栏中的填充?</strong></p> <p><strong>编辑:错误用完全相同的代码消失了。</strong></p> <p>现在使用相同的代码: <a href="https://i.sstatic.net/Ch1IF.png" rel="nofollow noreferrer"><img src="https://cdn.txt58.com/i/AWkuc3N0YXRpYy5uZXQvQ2gxSUYucG5n" alt="no padding"/></a></p> <p>我做了什么:</p> <ul> <li>重启电脑,bug依然存在</li> <li>添加CSS代码来设置滚动条的样式</li> <li>删除我添加的代码 --> bug 消失了</li> </ul> <p>我不明白为什么...</p> </question> <answer tick="false" vote="0"> <p>您看到的是一个空的滚动条。设置溢出<pre><code>overflow: auto</code></pre>。仅当内容溢出时才会显示滚动条。</p> <p></p><div data-babel="false" data-lang="js" data-hide="false" data-console="true"> <div> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;style type=&#34;text/css&#34;&gt; html, body { margin: 0; } #container{ width:100vw; height:100vh; background-color: green; } #left-bar{ position: absolute; width: 300px; height: 100vh; background-color: red; overflow: auto; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div id=&#34;container&#34;&gt; &lt;div id=&#34;left-bar&#34; &gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</code></pre> </div> </div> <p></p> </answer> <answer tick="false" vote="0"> <p>您可能会考虑使用一个具有最小滚动条的插件(也许是<a href="https://grsmto.github.io/simplebar/" rel="nofollow noreferrer">simplerbar</a>)。还可以考虑只做 <pre><code>overflow-y:scroll</code></pre> 以获得更容易接受的外观。您还可以更改滚动装订线的颜色<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color" rel="nofollow noreferrer">colors</a></p> <p></p><div data-babel="false" data-lang="js" data-hide="false" data-console="true"> <div> <pre><code>var el1 = document.querySelector(&#39;[data-id=div1]&#39;); var el2 = document.querySelector(&#39;[data-id=div2]&#39;); instance1 = new SimpleBar(el1); instance2 = new SimpleBar(el2);</code></pre> <pre><code>&lt;script src=&#34;https://cdnjs.cloudflare.com/ajax/libs/simplebar/5.3.8/simplebar.min.js&#34; integrity=&#34;sha512-2SAzoBQi2FbvWkvcsoYW4PH478pUu0gwa7BRA6YQxg6kCWUIOIDfFHMLH57GbWeLa+pkYitOD5j9mIhIt3CLKA==&#34; crossorigin=&#34;anonymous&#34; referrerpolicy=&#34;no-referrer&#34;&gt;&lt;/script&gt; &lt;link rel=&#34;stylesheet&#34; href=&#34;https://cdnjs.cloudflare.com/ajax/libs/simplebar/5.3.8/simplebar.min.css&#34; integrity=&#34;sha512-uZTwaYYhJLFXaXYm1jdNiH6JZ1wLCTVnarJza7iZ1OKQmvi6prtk85NMvicoSobylP5K4FCdGEc4vk1AYT8b9Q==&#34; crossorigin=&#34;anonymous&#34; referrerpolicy=&#34;no-referrer&#34; /&gt; &lt;div dir=&#34;ltr&#34;&gt; &lt;div data-id=&#34;div1&#34; style=&#34;height: 300px; width: 200px; padding:10px; display: inline-block; border:1px solid gray; background: lightblue; &#34;&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&gt; &lt;/div&gt; &lt;section data-id=&#34;div2&#34; style=&#34;height: 300px; width: 200px; padding:10px; display: inline-block; border:1px solid gray&#34;&gt; &lt;p&gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&lt;/p&gt; &lt;p&gt;But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?&lt;/p&gt; &lt;/section&gt; &lt;/div&gt;</code></pre> </div> </div> <p></p> </answer> </body></html>


© www.soinside.com 2019 - 2024. All rights reserved.