多个动态参数可使用Spring Boot搜索,参数为96,可以为空

如何解决多个动态参数可使用Spring Boot搜索,参数为96,可以为空

要使用Spring Boot搜索的多个动态参数,参数为96,可以为空 我正在使用Spring Boot应用程序处理React js,并且正在通过菜单过滤器传递一些搜索参数,我有96个要搜索的过滤器。 菜单截图:

enter image description here

控制器:

    @ResponseBody
    @GetMapping("filtreregioncloser")
    public Iterable<Closerfprfx> gettab1() {
        Iterable<Filter> filter = fi.findAll();
        String ChaineRfx = "";
        String ChaineRfp = "";
        String ChaineRfp_x = "";
        //String allclassification = "";
        String ChaineEu = "";
        String ChaineAmericas = "";
        String ChaineAae = "";
        String ChaineGer = "";
        String ChaineEu2 = "";
        String ChaineLatam = "";
        String ChaineEmpty = "";
        //String allregion = "";
        String ChaineIdm = "";
        String ChaineDig = "";
        String ChaineEps = "";
        String ChaineCo = "";
        String ChaineTec = "";
        String ChaineBds = "";
        String ChaineTts = "";
        // String allpractice = f.isAllpractice() ;
        String ChainBidinpo = "";
        String ChainBidrevision = "";
        String chaineCheckingability = "";
        String chainCheckingona = "";
        String Chainefeasabitlity = "";
        String ChaineClarificationmanager = "";
        String ChaineClarifictionByAtos = "";
        String ChaineClarificationCustomer = "";
        String chainclosedrvopen = "";
        String ChainClosed = "";
        String ChaineConfirmationonfabiltytosupply = "";
        String ChaineCustomerdesicionexcepted = "";
        String ChainErrors = "";
        String ChainInterviewPlanned = "";
        String ChainLastCallbidinborcess = "";
        String LastCallOffered = "";
        String ChaineLastCaloption = "";
        String ChaineMoreProfiloffered = "";
        String ChianeMOreProfilSearching = "";
        String ChainemoreProfilefoundChecking = "";
        String ChainNdaForsignature = "";
        String chainOfferejected = "";
        String Chaineoffererejectednooptionforlast = "";
        String Chainonholde = "";
        String ChaineProfilAcceted = "";
        String ChainePorfileFoundCheking = "";
        String CHAINePorfileOffered = "";
        String ChaineProfilrejected = "";
        String ChaineRequestdataincompleteinvalid = "";
        String Chaineseeidemandstatus = "";
        String ChaineWaitingforcustomerinformation = "";
        String cHAINEFOPO = "";
        String ChaineWaitingrequest = "";
        //String allworkflow = f.isAllworkflow();
        String Chainbpf = "";
        String Chaincarveout = "";
        String Chaincoeinfosec = "";
        String Chaincuother = "";
        String Chaingsbipsbss = "";
        String Chaingsitba = "";
        String Chaingsitbi = "";
        String Chaingsitbt = "";
        String Chaingsitcc = "";
        String Chaingsitccs = "";
        String Chaingsitcd = "";
        String Chaingsitcf = "";
        String Chaingsitcoe = "";
        String Chaingsitcrm = "";
        String Chaingsitct = "";
        String Chaingsitde = "";
        String Chaingsitdf = "";
        String Chaingsiteb = "";
        String Chaingsitecm = "";
        String Chaingsited = "";
        String Chaingsitem = "";
        String Chaingsiter = "";
        String Chaingsitg = "";
        String Chaingsithr = "";
        String Chaingsitin = "";
        String Chaingsitisec = "";
        String Chaingsitmo = "";
        String Chaingsitpd = "";
        String Chaingsitpg = "";
        String Chaingsitps = "";
        String Chaingsitr = "";
        String Chaingsitrc = "";
        String Chaingsitscm = "";
        String Chaingsitsfs = "";
        String Chaingsitsmc = "";
        String Chaingsitvit = "";
        String Chaingsitwp = "";
        String Chainhansecom = "";
        String Chainhcit = "";
        String Chainosram = "";
        String Chainsppallasit = "";
        String Chainsre = "";
        //String allunit = "";
        for (Filter f : filter) {

            // Classification
            String rfx = f.isRfx();
            if (rfx.equals("true")) {
                System.out.println(rfx);
                

                ChaineRfx = "RFX";
                System.out.println(" RFX : valeur"+" "+ChaineRfx);
            } else {
                ChaineRfx = "xxxx";
            }
            String rfp = f.isRfp();
            if (rfp.equals("true")) {
                ChaineRfp = "rfp";
            } else {
                ChaineRfp = "xxxx";
            }
            String rfp_x = f.isRfp_x();
            if (rfp_x.equals("true")) {
                ChaineRfp_x = "rfp_x";
            } else {
                ChaineRfp_x = "xxxx";
            }
            // String allclassification = f.isAllclassification();
            // region
            String eu = f.isEu();

            if (eu.equals("true")) {
                ChaineEu = "eu";
            } else {
                ChaineEu = "xxxx";
            }
            String americas = f.isAmericas();
            if (americas.equals("true")) {
                ChaineAmericas = "americas";
            } else {
                ChaineAmericas = "xxxx";
            }
            String aae = f.isAae();
            if (aae.equals("true")) {
                ChaineAae = "aae";
            } else {
                ChaineAae = "xxxx";
            }
            String ger = f.isGer();
            if (ger.equals("true")) {
                ChaineGer = "ger";

            } else {
                ChaineGer = "xxxx";
            }
            String eu2 = f.isEu2();
            if (eu2.equals("true")) {
                ChaineEu2 = "eu2";
            } else {
                ChaineEu2 = "xxxx";
            }
            String latam = f.isLatam();
            if (latam.equals("true")) {
                ChaineLatam = "latam";
            } else {
                ChaineLatam = "xxxx";
            }
            String empty = f.isEmpty();
            if (empty.equals("true")) {
                ChaineEmpty = "empty";
            } else {
                ChaineEmpty = "xxxx";
            }
            // String allregion =f.isAllregion();

//practice
            String idm = f.isIdm();

            if (idm.equals("true")) {
                ChaineIdm = "idm";
            } else {
                ChaineIdm = "xxxx";
            }
            String dig = f.isDig();
            if (dig.equals("true")) {
                ChaineDig = "dig";
            } else {
                ChaineDig = "xxxx";
            }
            String eps = f.isEps();
            if (eps.equals("true")) {
                ChaineEps = "eps";
            } else {
                ChaineEps = "xxxx";
            }

            String co = f.isCo();
            if (co.equals("true")) {
                ChaineCo = "co";
            } else {
                ChaineCo = "xxxx";
            }
            String tec = f.isTec();
            if (tec.equals("true")) {
                ChaineTec = "tec";
            } else {
                ChaineTec = "xxxx";
            }
            String bds = f.isBds();
            if (bds.equals("true")) {
                ChaineBds = " bds";
            } else {
                ChaineBds = "xxxx";
            }
            String tts = f.isTts();
            if (tts.equals("true")) {
                ChaineTts = "tts";
            } else {
                ChaineTts = "xxxx";
            }
            // String allpractice = f.isAllpractice() ;

            // workflow
            String bidinprocess = f.isBidinprocess();
            if (bidinprocess.equals("true")) {
                ChainBidinpo = "Bid in process";
            } else {
                ChainBidinpo = "xxxx";
            }

            String bidrevision = f.isBidrevision();
            if (bidrevision.equals("true")) {
                ChainBidrevision = "Bin revision";
            } else {
                ChainBidrevision = "xxxx";
            }
            String checkingabilitytosupply = f.isCheckingabilitytosupply();
            if (checkingabilitytosupply.equals("true")) {
                chaineCheckingability = "Checking ability to supply";
            } else {
                chaineCheckingability = "xxxx";
            }

            String checkingonavailability = f.isCheckingonavailability();
            if (checkingonavailability.equals("true")) {
                chainCheckingona = "Chechking on availability";
            } else {
                chainCheckingona = "xxxx";
            }

            String checkingonfeasibility = f.isCheckingonfeasibility();
            if (checkingonfeasibility.equals("true")) {
                Chainefeasabitlity = "Checking on feasibility";

            } else {
                Chainefeasabitlity = "xxxx";
            }
            String clarificationbyalliancemanager = f.isClarificationbyalliancemanager();
            if (clarificationbyalliancemanager.equals("true")) {
                ChaineClarificationmanager = "Clarification by alliance manager";
            } else {
                ChaineClarificationmanager = "xxxx";
            }
            String clarificationbyatos = f.isClarificationbyatos();
            if (clarificationbyatos.equals("true")) {
                ChaineClarifictionByAtos = "Clarification by atos";
            } else {
                ChaineClarifictionByAtos = "xxxx";
            }

            String clarificationbycustomer = f.isClarificationbycustomer();
            if (clarificationbycustomer.equals("true")) {
                ChaineClarificationCustomer = "Clarification by customer";
            } else {
                ChaineClarificationCustomer = "xxxx";
            }
            String closedrvopen = f.isClosedrvopen();
            if (closedrvopen.equals("true")) {
                chainclosedrvopen = "Closed (RV open)";
            } else {
                chainclosedrvopen = "xxxx";
            }
            String closed = f.isClosed();
            if (closed.equals("true")) {
                ChainClosed = "Closed";
            } else {
                ChainClosed = "xxxx";
            }
            String confirmationofabilitytosupply = f.isConfirmationofabilitytosupply();
            if (confirmationofabilitytosupply.equals("true")) {
                ChaineConfirmationonfabiltytosupply = "Confirmati of ability to supply";
            } else {
                ChaineConfirmationonfabiltytosupply = "xxxx";
            }
            String customerdecisionexpected = f.isCustomerdecisionexpected();
            if (customerdecisionexpected.equals("true")) {
                ChaineCustomerdesicionexcepted = "Customer decision expected";

            } else {
                ChaineCustomerdesicionexcepted = "xxxx";
            }
            String errors = f.isErrors();
            if (errors.equals("true")) {
                ChainErrors = "errors";
            } else {
                ChainErrors = "xxxx";
            }
            String interviewplanned = f.isInterviewplanned();
            if (interviewplanned.equals("true")) {
                ChainInterviewPlanned = "Interview planned";
            } else {
                ChainInterviewPlanned = "xxxx";
            }
            String lastcallbidinbrocess = f.isLastcallbidinbrocess();
            if (lastcallbidinbrocess.equals("true")) {
                ChainLastCallbidinborcess = "Last Call - bid in brocess";
            } else {
                ChainLastCallbidinborcess = "xxxx";
            }
            String lastcallofferrejected = f.isLastcallofferrejected();
            if (lastcallofferrejected.equals("true")) {
                LastCallOffered = "Last Call - offer rejected";
            } else {
                LastCallOffered = "xxxx";
            }
            String lastcalloptionoffered = f.isLastcalloptionoffered();
            if (lastcalloptionoffered.equals("true")) {
                ChaineLastCaloption = "Last Call - option offered";
            } else {
                ChaineLastCaloption = "xxxx";
            }
            String moreprofileoffered = f.isMoreprofileoffered();
            if (moreprofileoffered.equals("true")) {
                ChaineMoreProfiloffered = "More Profile offered";

            } else {
                ChaineMoreProfiloffered = "xxxx";
            }
            String moreprofilesearching = f.isMoreprofilesearching();
            if (moreprofilesearching.equals("true")) {
                ChianeMOreProfilSearching = "More Profile searching";
            } else {
                ChianeMOreProfilSearching = "xxxx";
            }
            String moreprofilefoundchecking = f.isMoreprofilefoundchecking();
            if (moreprofilefoundchecking.equals("true")) {
                ChainemoreProfilefoundChecking = "More Profiles found,checking";
            } else {
                ChainemoreProfilefoundChecking = "xxxx";
            }
            String ndaforsignature = f.isNdaforsignature();

            if (ndaforsignature.equals("true")) {
                ChainNdaForsignature = "NDA for signature";

            } else {
                ChainNdaForsignature = "xxxx";
            }
            String offerrejected = f.isOfferrejected();
            if (offerrejected.equals("true")) {
                chainOfferejected = "Offer rejected";
            } else {
                chainOfferejected = "xxxx";
            }
            String offerrejectednooptionforlast = f.isOfferrejectednooptionforlast();
            if (offerrejectednooptionforlast.equals("true")) {
                Chaineoffererejectednooptionforlast = "Offer rejected -no option for last";
            } else {
                Chaineoffererejectednooptionforlast = "xxxx";
            }
            String onhold = f.isOnhold();
            if (onhold.equals("true")) {
                Chainonholde = "On hold";
            } else {
                Chainonholde = "xxxx";
            }
            String profileaccepted = f.isProfileaccepted();
            if (profileaccepted.equals("true")) {
                ChaineProfilAcceted = "Profil accepted";
            } else {
                ChaineProfilAcceted = "xxxx";
            }
            String profilefoundchecking = f.isProfilefoundchecking();
            if (profilefoundchecking.equals("true")) {
                ChainePorfileFoundCheking = "Profile found,checking";
            } else {
                ChainePorfileFoundCheking = "xxxx";
            }
            String profileoffered = f.isProfileoffered();
            if (profileoffered.equals("true")) {
                CHAINePorfileOffered = "Profile offered";
            } else {
                CHAINePorfileOffered = "xxxx";
            }
            String profilerejected = f.isProfilerejected();
            if (profilerejected.equals("true")) {
                ChaineProfilrejected = "Profile rejected";
            } else {
                ChaineProfilrejected = "xxxx";
            }
            String requestdataincompleteinvalid = f.isRequestdataincompleteinvalid();
            if (requestdataincompleteinvalid.equals("true")) {
                ChaineRequestdataincompleteinvalid = "Request data inomplete/invalid";
            } else {
                ChaineRequestdataincompleteinvalid = "xxxx";
            }
            String seeidemandstatus = f.isSeeidemandstatus();
            if (seeidemandstatus.equals("true")) {
                Chaineseeidemandstatus = "see iDemand status";
            } else {
                Chaineseeidemandstatus = "xxxx";
            }
            String waitingforcustomerinformation = f.isWaitingforcustomerinformation();
            if (waitingforcustomerinformation.equals("true")) {
                ChaineWaitingforcustomerinformation = "Waiting for customer information";
            } else {
                ChaineWaitingforcustomerinformation = "xxxx";
            }
            String waitingfopo = f.isWaitingfopo();
            if (waitingfopo.equals("true")) {
                cHAINEFOPO = "Waiting fo P.O.";
            } else {
                cHAINEFOPO = "xxxx";
            }
            String waitingforrequest = f.isWaitingforrequest();
            if (waitingforrequest.equals("true")) {
                ChaineWaitingrequest = "Waiting for Request";
            } else {
                ChaineWaitingrequest = "xxxx";
            }
            // String allworkflow =f.isAllworkflow();

            // UNIT
            String bpf = f.isBpf();
            if (bpf.equals("true")) {
                Chainbpf = "BP F";
            } else {
                Chainbpf = "xxxx";
            }

            String carveout = f.isCarveout();
            if (carveout.equals("true")) {
                Chaincarveout = "Carve-Out";
            } else {
                Chaincarveout = "xxxx";
            }
            String coeinfosec = f.isCoeinfosec();

            if (coeinfosec.equals("true")) {
                Chaincoeinfosec = "COE INFO SEC";
            } else {
                Chaincoeinfosec = "xxxx";
            }
            String cuother = f.isCuother();
            if (cuother.equals("true")) {
                Chaincuother = "CU Other";
            } else {
                Chaincuother = "xxxx";
            }
            String gsbipsbss = f.isGsbipsbss();

            if (gsbipsbss.equals("true")) {
                Chaingsbipsbss = "GS BIPS BSS";
            } else {
                Chaingsbipsbss = "xxxx";
            }
            String gsitba = f.isGsitba();
            if (gsitba.equals("true")) {
                Chaingsitba = "GS IT BA";
            } else {
                Chaingsitba = "xxxx";
            }
            String gsitbi = f.isGsitbi();
            if (gsitbi.equals("true")) {
                Chaingsitbi = "GS IT BI";
            } else {
                Chaingsitbi = "xxxx";
            }
            String gsitbt = f.isGsitbt();
            if (gsitbt.equals("true")) {
                Chaingsitbt = "GS IT BT";
            } else {
                Chaingsitbt = "xxxx";
            }
            String gsitcc = f.isGsitcc();
            if (gsitcc.equals("true")) {
                Chaingsitcc = "GS IT CC";
            } else {
                Chaingsitcc = "xxxx";
            }
            String gsitccs = f.isGsitccs();
            if (gsitccs.equals("true")) {
                Chaingsitccs = "GS IT CCS";
            } else {
                Chaingsitccs = "xxxx";
            }
            String gsitcd = f.isGsitcd();
            if (gsitcd.equals("true")) {
                Chaingsitcd = "GS IT CD";
            } else {
                Chaingsitcd = "xxxx";
            }
            String gsitcf = f.isGsitcf();
            if (gsitcf.equals("true")) {
                Chaingsitcf = "GS IT CF";
            } else {
                Chaingsitcf = "xxxx";
            }
            String gsitcoe = f.isGsitcoe();
            if (gsitcoe.equals("true")) {
                Chaingsitcoe = "GS IT COE";
            } else {
                Chaingsitcoe = "xxxx";
            }
            String gsitcrm = f.isGsitcrm();
            if (gsitcrm.equals("true")) {
                Chaingsitcrm = "GS IT CRM";
            } else {
                Chaingsitcrm = "xxxx";
            }
            String gsitct = f.isGsitct();
            if (gsitct.equals("true")) {
                Chaingsitct = "GS IT TCT";
            } else {
                Chaingsitct = "xxxx";
            }
            String gsitde = f.isGsitde();
            if (gsitde.equals("true")) {
                Chaingsitde = "GS IT DE";
            } else {
                Chaingsitde = "xxxx";
            }
            String gsitdf = f.isGsitdf();
            if (gsitdf.equals("true")) {
                Chaingsitdf = "GS IT DF";
            } else {
                Chaingsitdf = "xxxx";
            }
            String gsiteb = f.isGsiteb();
            if (gsiteb.equals("true")) {
                Chaingsiteb = "GS IT EB";
            } else {
                Chaingsiteb = "xxxx";
            }
            String gsitecm = f.isGsitecm();
            if (gsitecm.equals("true")) {
                Chaingsitecm = "GS IT ECM";
            } else {
                Chaingsitecm = "xxxx";
            }
            String gsited = f.isGsited();
            if (gsited.equals("true")) {
                Chaingsited = "GS IT ED";
            } else {
                Chaingsited = "xxxx";
            }
            String gsitem = f.isGsitem();
            if (gsitem.equals("true")) {
                Chaingsitem = "GS IT EM";
            } else {
                Chaingsitem = "xxxx";
            }
            String gsiter = f.isGsiter();
            if (gsiter.equals("true")) {
                Chaingsiter = "GS IT ER";
            } else {
                Chaingsiter = "";
            }
            String gsitg = f.isGsitg();
            if (gsitg.equals("true")) {
                Chaingsitg = "GS IT G";
            } else {
                Chaingsitg = "";

            }
            String gsithr = f.isGsithr();
            if (gsithr.equals("true")) {
                Chaingsithr = "GS IT HR";
            } else {
                Chaingsithr = "xxxx";
            }
            String gsitin = f.isGsitin();
            if (gsitin.equals("true")) {
                Chaingsitin = "GS IT IN";
            } else {
                Chaingsitin = "xxxx";
            }
            String gsitisec = f.isGsitisec();
            if (gsitisec.equals("true")) {
                Chaingsitisec = "GS IT ISEC";
            } else {
                Chaingsitisec = "xxxx";
            }
            String gsitmo = f.isGsitmo();
            if (gsitmo.equals("true")) {
                Chaingsitmo = "GS IT MO";
            } else {
                Chaingsitmo = "xxxx";
            }
            String gsitpd = f.isGsitpd();
            if (gsitpd.equals("true")) {
                Chaingsitpd = "GS IT PD";
            } else {
                Chaingsitpd = "xxxx";
            }
            String gsitpg = f.isGsitpg();
            if (gsitpg.equals("true")) {
                Chaingsitpg = "GS IT PG";
            } else {
                Chaingsitpg = "xxxx";
            }
            String gsitps = f.isGsitps();
            if (gsitps.equals("true")) {
                Chaingsitps = "GS IT PS";
            } else {
                Chaingsitps = "xxxx";

            }
            String gsitr = f.isGsitr();
            if (gsitr.equals("true")) {
                Chaingsitr = "GS IT R";
            } else {
                Chaingsitr = "xxxx";
            }
            String gsitrc = f.isGsitrc();
            if (gsitrc.equals("true")) {
                Chaingsitrc = "GS IT RC";
            } else {
                Chaingsitrc = "xxxx";
            }
            String gsitscm = f.isGsitscm();
            if (gsitscm.equals("true")) {
                Chaingsitscm = "GS IT SCM";
            } else {
                Chaingsitscm = "xxxx";

            }
            String gsitsfs = f.isGsitsfs();
            if (gsitsfs.equals("true")) {
                Chaingsitsfs = "GS IT SFS";
            } else {
                Chaingsitsfs = "";
            }
            String gsitsmc = f.isGsitsmc();
            if (gsitsmc.equals("true")) {
                Chaingsitsmc = "GS IT SMC";
            } else {
                Chaingsitsmc = "";
            }
            String gsitvit = f.isGsitvit();
            if (gsitvit.equals("true")) {
                Chaingsitvit = "GS IT VIT";
            } else {
                Chaingsitvit = "";
            }
            String gsitwp = f.isGsitwp();
            if (gsitwp.equals("true")) {
                Chaingsitwp = "GS IT WP";
            } else {
                Chaingsitwp = "";
            }
            String hansecom = f.isHansecom();
            if (hansecom.equals("true")) {
                Chainhansecom = "HanseCom";
            } else {
                Chainhansecom = "";
            }
            String hcit = f.isHcit();
            if (hcit.equals("true")) {
                Chainhcit = "HC IT";
            } else {
                Chainhcit = "xxxx";
            }
            String osram = f.isOsram();
            if (osram.equals("true")) {
                Chainosram = "OSRAM";
            } else {
                Chainosram = "xxxx";
            }
            String sppallasit = f.isSppallasit();
            if (sppallasit.equals("true")) {
                Chainsppallasit = "SPPAL/ LAST IT";
            } else {
                Chainsppallasit = "xxxx";
            }

            String sre = f.isSre();
            if (sre.equals("true")) {
                Chainsre = "SRE";
            } else {
                Chainsre = "xxxx";

            }
            // String allunit = f.isAllunit();
        }
        HashMap<String,String> tabFilter = new HashMap<String,String>();
        if(ChaineRfx=="RFX")
        {
        tabFilter.put("ChaineRfx",ChaineRfx);
        }
        
        

        return null;
    }

请我该怎么做!

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 &lt;select id=&quot;xxx&quot;&gt; SELECT di.id, di.name, di.work_type, di.updated... &lt;where&gt; &lt;if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 &lt;property name=&quot;dynamic.classpath&quot; value=&quot;tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-