首页 » bug飞

java.lang.NoSuchMethodError: io.swagger.models.AbstractModel.addProperty(Lja

最后发现是io.swagger:swagger-models:jar:1.6.0:和swager依赖的版本冲突,exclude掉

<dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger-ui</artifactId>
            <version>2.9.2</version>
            <exclusions>
                <exclusion>
                    <groupId>io.swagger</groupId>
                    <artifactId>swagger-models</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.swagger</groupId>
                    <artifactId>swagger-annotations</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
            <version>2.9.2</version>
            <exclusions>
                <exclusion>
                    <groupId>io.swagger</groupId>
                    <artifactId>swagger-models</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>io.swagger</groupId>
                    <artifactId>swagger-annotations</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

Error running 'xxxApplication': Command line is too long. Shorten command line for xxxAPPlication or also for Application default configuration. 的解决办法

在.idea 下面的workspace.xml中加入

  <component name="PropertiesComponent">
    <property name="WebServerToolWindowFactoryState" value="false" />
    <property name="aspect.path.notification.shown" value="true" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
    <property name="settings.editor.selected.configurable" value="MavenSettings" />
    <property name="dynamic.classpath" value="true" />
  </component>

manjaro lxqt 没有声音 是因为没有自带PulseAUdio

1.首先安装pulseAudio,任务栏右键添加volume control

sudo pacman -Sy pulseaudio

2.选择自己的输出设备,重启生效。