I added commons-codec-1.4.jar in my project file and added
import org.apache.commons.codec.binary.Base64;
But whenever I build it it will give me an error: The package org.apache.commons.codec.binary does not exist.
Why does it not work?
I also faced the same problem.
Solved this problem by adding commons-codec.jar
Solved this problem by adding commons-codec.jar
You can download it from http://mvnrepository.com/artifact/commons-codec/commons-codec/1.7
Read More:
- [Solved] Java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactory
- [Solved] Error:(3, 46) java: Program Package org.springframework.context.annotation does not exist
- [Solved] Error: (4, 52) Java: package org springframework. beans. factory. Annotation does not exist
- [Javac compilation exception] javac compilation prompts that the package in jdk cannot be found error: package jdk.internal.org.objectweb.asm does not exist and error: cannot find symbol
- Maven error: package org.springframework.context does not exist
- [Solved] write javaBean error, fastjson version 1.2.76, class org.apache.flink.table.data.binary
- [Solved] IDEA Add maven Project Error: Error:(3,21)java: Package javax.servletdoes not exist
- [Solved] Error: (3, 31) Java: package jdk.nashorn.internal.ir does not exist
- [Solved] org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject…
- [Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
- [Solved] java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
- [Solved] spring source code compile error: target package does not exist
- org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying XXX
- kakfa Create topic Error: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 3 larger than available brokers: 2.
- [Solved] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only
- [Solved] org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession…
- [Solved] Mybatis add dependencies Error: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
- [Solved] JSP tag forwarding forword error: org.apache.jasper.JasperException
- Springboot Project Error: Failed to execute goal org.apache.maven.plugins
- [Solved] nested exception is org.apache.ibatis.builder.BuilderException: Error invoking SqlProvider method