小编Joa*_*hde的帖子

我安装了NetBeans 8.2,并且无法更改UI语言。我没有找到任何选择。有什么建议么?

我安装了NetBeans 8.2,无法更改UI语言。我没有找到任何选择。有什么建议么?我使用此过程,但无法正常工作

  • 查找netbeans等,可能位于C:\ Program Files \ NetBeans 8.2 \ etc
  • 打开netbeans.conf
  • 查找netbeans_default_options
  • 添加这些选项,这样:netbeans_default_options =“ blablabla-J-Duser.language = zh-CN-J-Duser.region = US”
  • 保存存档
  • 重新启动/启动netbeans。 图片说明在这里

netbeans

2
推荐指数
1
解决办法
6287
查看次数

Maven 忽略存储库

我无法让 Maven 下载工件

    <dependency>
        <groupId>org.jboss.test-jsf</groupId>
        <artifactId>jsf-mock</artifactId>
        <version>1.1.9</version>
        <scope>test</scope>
    </dependency>
Run Code Online (Sandbox Code Playgroud)

此依赖项不在 Maven Central 中。我已将正确的存储库添加到我的设置中。

<profiles>
    <profile>
        <id>barbucha</id>
    </profile>
    <repositories>
        <repository>
            <id>jboss</id>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <url>http://repository.jboss.org/nexus/content/groups/public/</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>jboss-plug</id>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <url>http://repository.jboss.org/nexus/content/groups/public/</url>
        </pluginRepository>
    </pluginRepositories>
</profiles>
Run Code Online (Sandbox Code Playgroud)

然后我使用配置文件构建东西barbucha。然而,maven 根本不使用 JBoss 存储库。它尝试从 Central 获取缺少的依赖项。它尝试下载依赖项两次,然后失败:

[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/test-jsf/jsf-mock/1.1.9/jsf-mock-1.1.9.pom
[WARNING] The POM for org.jboss.test-jsf:jsf-mock:jar:1.1.9 is missing, no dependency information available
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/jboss/test-jsf/jsf-mock/1.1.9/jsf-mock-1.1.9.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on …
Run Code Online (Sandbox Code Playgroud)

profile repository maven

0
推荐指数
1
解决办法
3180
查看次数

标签 统计

maven ×1

netbeans ×1

profile ×1

repository ×1