• Meta-inf / versions / 9 / module-info.class conflict resolution


    Recently, the automation project has been transformed to introduce a foreign automation framework: selenideIt is found that package conflicts are always reported after the introduction of jar packages.The following is an exception thrown by a maven conflict detection plug-in <groupId>org.apache.maven.plugins</groupId> <artifactId >maven-enforcer-plugin</artifactId> <version>1.4.1</version> The specific errors are as follows: NFO] Adding ignore: com.sun.jna.* [WARNING] Rule […]

  • Project footprint: the “create react app” item cannot be recognized as the name of cmdlet, function, script file or runnable program… Solution


    An error is reported when creating a projectI tried to change the image of Taobao online, but it didn’t workFinally, NPX succeedednpx create-react-app todo-list NPX will automatically find the executable file in the current dependent package. If it cannot be found, it will find it in path. If you still can’t find it, I’ll install […]

  • Error: Cannot find module ‘commander‘


    1. Error description ​ 2. Cause of error Check the prompt of Vue cli version. The module commander cannot be found 3. Solutions Method 1: re install the commander, NPM install   commander –save Key tips: don’t install it in the directory where node is installed. It doesn’t work; Method 2: install Vue cli globally, […]

  • Common problems of SQL Server database recovery


    When dealing with database restore, the database is in use error message often appears.As the name suggests, SQL server refuses to let anyone restore the database because someone or an application is still using the database. The solution is very simple, is to use sp_ Who 2 finds out the SPID (server process ID) of […]

  • Unable to update bootstrap when Sencha app build Ext.manifest Configuration solutions


    ext sdk 6.2.0 Sencha CMD 6.6.0 When modified app.json Indexhtmlpath for Before revision   “indexHtmlPath”: “index.html”, After modification   “indexHtmlPath”: “../index.html”,   After generated by sencah app build bootstrap.js In the file Ext.manifest = Ext.manifest || “bootstrap.json”; Normal should be generated Ext.manifest = Ext.manifest || “Sencha/bootstrap.json”; For a long time, I have changed several SDKs, […]

  • How to deal with auto packing of GIT


    When our git warehouse runs for a period of time, it may be very large, and there are too many git objects stored in the warehouse. At this time, when you execute some git commands, such as git pull, there will be such a prompt: Auto packing the repository for optimum performance. You may alsorun […]

  • Method of transforming flat data into tree data in JS front end


    1. JS front-end method to convert flat data into tree data The measurement is successful https://segmentfault.com/a/1190000022444269 //Convert peer data into tree structure listToTree(dataSource) { //Datasource is the same level data source return dataSource.filter(e => { const pid = e.parentId const resultArr = dataSource.filter(ele => { if (ele.menuId === pid) { if (!ele.children) { ele.children = […]

  • Tomcat learning notes (3) – host configuration


    Learn Tomcat todayROOT(root) application deployment. In traditional deployment, we put our demo in thewebappsAccess it when it’s under the directory http://localhos:8080/demoThat’s fine. But if I want to access domain throughhttp://localhos:8080Is there any way to access our app? The answer, of course, is that there is a way. The method is very simple in TomcatappBaseThe location […]

  • Larravel + JWT multi table (or multi user) authentication


    Recently in uselaravel+jwtAuth authentication, just finished the user moduleThere is a problem: the background module is about to be written, and the two modules are designed with two user tables: user table and admin table. Larvel has multi-user authority authentication method, which JWT has never contactedThe first time I went to Google to search the […]

  • Install homebrew error curl:


    come from: https://www.jianshu.com/p/68e… The solution has been out of date. After I follow the same method, 443 connection reused error will still appear I went back to check the original stack overflow article that the blogger referred toask What bloggers refer to is the answer that is highly praised the first, originally from 2015. It’s […]

  • [PHP] compile and install swoole


    I don’t know why, the home network can’t be accessed pecl.php.net There is no way to directly use PECL install spool to install swoole, or compile and install it directly Download source code in Git repository https://github.com/swoole/swoole-src After entering the source code directory Phpize (APT get install PHP dev without this command) ./configure make make […]

  • Develop express WinForm quickly select layout control item


    I want to select a small container outside the new control Method 1: select the space between the container and the new control by mouse. If the margin is not more than 3, it is very difficult. Method 2: through the drop-down selection in the attribute, more than one container can be seen, which is […]