JedisPool injects spring into null

recently, when (spring) integrates redis in a project, I always hold a null pointer exception when going to the factory instance:
but the unit test is always normal:
the following is the redis-config.xml file
public class SpringContextUtil implements ApplicationContextAware{...}
  • this project adopts multi-maven structure, and there are a series of problems when sub-maven is packaged. Causes no communication between submodules
  • Mar.05,2021

    the file was not introduced,

    cannot be directly configured in web.xml (the solution is the introduction of import)

    the specific reason remains to be studied;

    MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
    MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34126-2beff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    MySQL Errno : 1021
    Message : Disk full (/tmp/#sql-temptable-64f5-1b34126-2beff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    Need Help?