English 中文(简体)
Java Maven 投掷“包装不存在”
原标题:Java Maven throws "package does not exist"

我有一个APIClient阶层,从公开API yml档案中自动生成。 串通是成功的,但 app弃了例外情况“java: 包裹照相。 并不存在“java:没有包件ok” om文件载有这两套材料。 数字格式的客户使用相同的代码,但做的是罚款。 我比较了这两份文件,没有差异。 为什么会 throw错?

错误信息:

C:jagjag-rsbc-digital-forms-vips-integration-17jag-vips-clientsrcjag-vips-client	argetgenerated-sourcesopenapisrcmainjavacacgovopenjagordsvipsclientapiDisclosureApi.java:25:31
java: package com.google.gson.reflect does not exist
C:jagjag-rsbc-digital-forms-vips-integration-17jag-vips-clientsrcjag-vips-client	argetgenerated-sourcesopenapisrcmainjavacacgovopenjagordsvipsclientapiDisclosureApi.java:93:19
java: package okhttp3 does not exist

POM.xml

<dependency>
    <groupId>com.google.code.gson</groupId>
    <artifactId>gson</artifactId>
    <version>2.10.1</version>
</dependency>
<dependency>
    <groupId>com.squareup.okhttp3</groupId>
    <artifactId>okhttp</artifactId>
    <version>4.11.0</version>
</dependency>

“在此处的影像描述”/</a

问题回答

在布莱恩/重建申请之后,我现在要谈一切。 因泰尔利奇刚刚去世。

在这种情况下,你可以使用夜总指挥线。 其名称为“mvn”。 你们必须做的是,将CWD(目前的工作名录)改为“cd /./your_project_dir”。 你可以在这里使用“mvn”。 它简单。 英特尔利奇和贝歇都使用海滩机制。 由于存在问题,这些问题可能出现。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签