我是 Liquibase 的新手。我已经将 maven 插件和 liquibase 包含到我的 pom.xml 中,但是当我使用更新 liquibase 时出现mvn liquibase:update此错误:
No plugin found for prefix 'liquibase' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
Run Code Online (Sandbox Code Playgroud)
如何修复此错误,以便在我键入时mvn liquibase:update它会正常运行
以下是我pom.xml与 liquibase 相关的一些依赖项
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
</dependency>
<build>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<propertyFile>src/main/resources/liquibase.properties</propertyFile>
<promptOnNonLocalDatabase>false</promptOnNonLocalDatabase>
</configuration>
</plugin>
</build>
Run Code Online (Sandbox Code Playgroud) 尽管我更新了我的 Pod,但我在库中遇到了一些问题react-native-permissions。
这是我的podfile
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
Run Code Online (Sandbox Code Playgroud)
添加后,我尝试从 xcode 中清理构建文件夹并更新我的 pod pod install,但仍然遇到错误
ExceptionsManager.js:149 Error: react-native-permissions: NativeModule.RNPermissions is null.
ExceptionsManager.js:149 Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
Run Code Online (Sandbox Code Playgroud)
奇怪的是,当我尝试在 Android 中运行我的应用程序时,它仍然发生。
我也尝试删除 …